-
Notifications
You must be signed in to change notification settings - Fork 1
NeoVim hangs after the completion #6
Comments
Could you try disableing all your other plugins, except I can't think for sure how they could be interfering, but lets rule that out first. |
I finally find out the cause of it. It only happens when I enable the super tab behavior of
|
I can indeed reproduce that. "Super tab like snippet behavour
inoremap <expr><TAB>
\ pumvisible() ? "\<C-n>" :
\ neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
snoremap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>" it works, without hanging. @Shougo may have some insight on this. |
I think so, too. |
I have tested it with the minimal init.vim. @YingboMa Please create the minimal init.vim and reproduce ways from neovim starting. |
This is my minimal
Then, use NeoVim to open a
Neovim will freeze. |
OK. I will test it. |
@Shougo when reproducing, the hang might not occur until @YingboMa does changing to using |
I cannot reproduce the minimal init.vim and the reproduce ways. I think it should be: " Plugins
call plug#begin('~/.vim/plugged')
Plug 'Shougo/deoplete.nvim'
Plug 'JuliaEditorSupport/deoplete-julia'
Plug 'JuliaEditorSupport/julia-vim'
Plug 'Shougo/neosnippet.vim'
Plug 'Shougo/neosnippet-snippets'
call plug#end()
" Snippets
let g:deoplete#enable_at_startup = 1
let g:neosnippet#enable_snipmate_compatibility = 1
let g:neosnippet#expand_word_boundary = 1
imap <C-k> <Plug>(neosnippet_expand_or_jump)
smap <C-k> <Plug>(neosnippet_expand_or_jump)
xmap <C-k> <Plug>(neosnippet_expand_target)
" SuperTab like snippets behavior.
imap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)"
\: pumvisible() ? "\<C-n>" : "\<TAB>"
smap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)"
\: "\<TAB>" |
@oxinabox No, it did not fix the problem. |
Your minimal init.vim works for me. |
@Shougo I tried it again. It still hangs... By the way, did you install Julia language? |
Yes. Julia completion works well. |
Anything system locale specific that could be causing this? Try setting the current shell locale to En.UTF-8 and see if it still happens and then switch back to whatever your current system locale is? |
@dragon788 Thank you for the advice. Unfortunately, it still does not fix the problem. |
i got the same problem. If disabled 'JuliaEditorSupport/julia-vim' |
confirm using old 'JuliaEditorSupport/julia-vim' like this: |
Is this 'JuliaEditorSupport/julia-vim' problem? |
It still hangs after I use 'ajpaulson/julia-syntax.vim'..... |
I've been away, but am back now. It seems like all @elsuizo and @YingboMa have different problems, Are both using same minimal rc? I am pretty sure this comes down to the |
@oxinabox Exactly, it doesn't have that problem after I remove it. |
NeoVim hangs forever after the completion pops up.
![screen-shot-2016-11-24-at-3 11 13-pm](https://cloud.githubusercontent.com/assets/17304743/20612831/e71a7aee-b28b-11e6-8333-849dffafd55d.png)
The text was updated successfully, but these errors were encountered: