Comments (6)
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.
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.
Ok I just merged a PR which adds the --text
flag, which is the same a -a
. Thanks!
from vim-gutentags.
Updating tag file still truncates it for my even with grep --text
command. What can be the issue?
from vim-gutentags.
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.
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)
- ctags_recursive.options permissions HOT 6
- ERROR: Invalid value for argument cmd and update_gtags.sh is not executable HOT 4
- E117: Unknown function: gutentags#on_vim_leave
- Tags stop working for specific file (path disappears from tags option) after manually setting tags once in that file
- Cannot generate the GTAGS at windows platform HOT 5
- Does it support different ctags file chosen dynamically? HOT 2
- Error code 122 & 139 HOT 7
- please support the usage of `vim -t symbol` HOT 9
- use gtags failed HOT 2
- update_gtags.sh lost execution permission
- How do I use different tag files for different directories of a same workspace HOT 1
- Is there a way to force gutentags to generate only one tag file?
- Keep tags values when opening the quickfix
- nvim 0.9 remove cscope how to HOT 1
- Guttentags does not support any file? HOT 1
- Option to generate tags for open windows or buffers only? HOT 3
- the use of .guttags file HOT 1
- Whitelisting instead of blacklisting HOT 2
- Bug in update_scopedb.cmd file prevents creation of cscope.out.files correctly HOT 1
- Very large tags file generated ( > 10GB) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-gutentags.