Code Monkey home page Code Monkey logo

Comments (6)

gezpage avatar gezpage commented on May 16, 2024

Found that grep was failing as it detected the tags file as binary. I still don't know why this is happening but adding the -a switch forces grep to treat the file as text, which resolves the issue.

from vim-gutentags.

ludovicchabant avatar ludovicchabant commented on May 16, 2024

Ah interesting. My guess is that maybe ctags is somehow indexing binary files, or source files with "unusual" character sets, so the tags file ends up with some symbols that contain characters that it interprets as binary? However, I'm worried that using the -a switch messes up Unicode symbols... it's pretty unusual (most programming languages are ASCII only) but it can happen.

from vim-gutentags.

ludovicchabant avatar ludovicchabant commented on May 16, 2024

Ok I just merged a PR which adds the --text flag, which is the same a -a. Thanks!

from vim-gutentags.

yevhen-m avatar yevhen-m commented on May 16, 2024

Updating tag file still truncates it for my even with grep --text command. What can be the issue?

from vim-gutentags.

ludovicchabant avatar ludovicchabant commented on May 16, 2024

No idea off the top of my head... :(

If you enable tracing (:call gutentags#toggletrace()) you will get a log file next to your tags file which shows what happened. This way you can run every step by hand in the command line and see at what point the tags file got truncated...

from vim-gutentags.

yevhen-m avatar yevhen-m commented on May 16, 2024

Sorry, there was a problem with my ctags. Your plugin works smooth.

On Aug 10, 2016 6:54 AM, "Ludovic Chabant" [email protected] wrote:

No idea off the top of my head... :(

If you enable tracing (:call gutentags#toggletrace()) you will get a log
file next to your tags file which shows what happened. This way you can run
every step by hand in the command line and see at what point the tags file
got truncated...


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#81 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJtpYm7FE-SYx5EQEsTMrgYLzj-PIj4Bks5qeUt6gaJpZM4IFsKW
.

from vim-gutentags.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.