New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when deoplete installed #168
Comments
I can confirm the same error
Does not happen on v1.0.0 |
It used to work with an older version of gutentags, since this appeared after I updated my plugins. |
FWIW, this only happens when I open a ruby file. |
I seem to get this almost every single time I do a git commit and quickly close vim once it opens to edit the commit message (i.e. I use the default message). |
@ruipgpinheiro Same here. |
Same here... |
can also repro the git case, seems to also happen when normally editing files too |
It's probably related to issue 167 ? Can you try to edit this piece of code and add |
@ludovicchabant sorry, where in the dict? |
Hello @ludovicchabant and @burgessa23 and @michaelmior! I can confirm that I am also experiencing this issue when I do a
I can confirm that when I make this change to the code I no longer see the error that was causing problems for me. Is this a fix to the problem? I would appreciate any feedback that you can share about the best way to fully resolve this issue. Thanks for your help and your contribution of this great plugin! |
It's difficult to know if this is the fix at the moment :) The problem with detaching on exit is that if you exit vim and re-open it in the same folder, you'll end up with 2 competing Issue #167 will be the central place for most "problems on exit in Neovim" from now on, so I'll close this issue and we can keep investigating and figuring out these things over there. People who want to go back to before we started using the Vim8/Neovim background job API can switch to the |
Hello @ludovicchabant, I am also tracking issue #167. I thought it best to report here that I am now using the following version of Neovim: Build type: RelWithDebInfo
Lua 5.1
Compilation: /usr/bin/x86_64-linux-gnu-gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -O2 -g -DMIN_LOG_LEVEL=3 -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -Wno-array-bounds -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/neovim-TNdxg7/neovim-0.2.2ubuntu2+git201806122018-315b7f8-f2f288d/build/config -I/build/neovim-TNdxg7/neovim-0.2.2ubuntu2+git201806122018-315b7f8-f2f288d/src -I/build/neovim-TNdxg7/neovim-0.2.2ubuntu2+git201806122018-315b7f8-f2f288d/.deps/usr/include -I/usr/include -I/build/neovim-TNdxg7/neovim-0.2.2ubuntu2+git201806122018-315b7f8-f2f288d/build/src/nvim/auto -I/build/neovim-TNdxg7/neovim-0.2.2ubuntu2+git201806122018-315b7f8-f2f288d/build/include
Compiled by buildd@lgw01-amd64-048
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim" Here is an example of an error that I see in the terminal window if I use Neovim to edit the commit message and then quickly exit Neovim.
I think that this error is similar to the one that started this issue and it is occurring with this newer version of Neovim. So, perhaps it is possible that a newer version does not resolve this tricky issue? Please let me know if you have any updates or if there is anything that I can do to assist in the resolution of this issue. |
This looks very similar to #178 ? |
This seems to happen when I rebase or commit only, so I added this line: au FileType gitcommit,gitrebase let g:gutentags_enabled=0 and it works. |
Hello @ludovicchabant and @afifsohaili, I am writing to confirm that I am following @afifsohaili's suggestion and disabling this plugin when editing a |
The recent versions of the gutentags plugin utilises neovim's async backend, which currently causes ctag processes not to be escaped correctly when quiting a file. This commit moves to a branch of gutentags that doesn't do this: ludovicchabant/vim-gutentags#168 Signed-off-by: Jon Crawford <jon@joncrawf.com>
Problem and solution found here: ludovicchabant/vim-gutentags#168 (comment)
it's really annoying when quickly edit a text file, so i think it is better only trigger it when first see a source ifile. let g:gutentags_enabled = 0
augroup auto_gutentags
au FileType python,java,scala,sh,groovy,vim let g:gutentags_enabled=1
augroup end
|
A few notes:
|
i get a pretty reproducible situation, edit a source that is not part of the repository. something like a temp source file
one observation is when quit, gtags seems lag around for a bit then quit. EDIT: i am on mac and NVIM v0.3.4. |
Mmmmh.... macOS and Neovim v0.3.4, with a repository with 200k+ files, and I can't repro. By "fast edit" you mean The fact that you have an error message that says |
Actually this looks exactly like #178 so we'll continue over there. |
vim often hangs for several seconds when exiting if deoplete installed. I also get the error message below. Not sure if the error is really with gutentags or deoplete but since the error is in gutentags code, I figured I'd start here.
The text was updated successfully, but these errors were encountered: