Skip to content

Commit 529565b

Browse files
committed
Merge pull request #530 from yssource/3.0
try to fix #526 issue 1, prevent "<C-k>" from invoking its self looply.
2 parents 10b25a1 + 90f6428 commit 529565b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.vimrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@
655655
else
656656
imap <silent><expr><C-k> neosnippet#expandable() ?
657657
\ "\<Plug>(neosnippet_expand_or_jump)" : (pumvisible() ?
658-
\ "\<C-e>" : "\<C-k>")
658+
\ "\<C-e>" : "\<Plug>(neosnippet_expand_or_jump)")
659659
smap <TAB> <Right><Plug>(neosnippet_jump_or_expand)
660660
661661
inoremap <expr><C-g> neocomplete#undo_completion()
@@ -729,7 +729,7 @@
729729
else
730730
imap <silent><expr><C-k> neosnippet#expandable() ?
731731
\ "\<Plug>(neosnippet_expand_or_jump)" : (pumvisible() ?
732-
\ "\<C-e>" : "\<C-k>")
732+
\ "\<C-e>" : "\<Plug>(neosnippet_expand_or_jump)")
733733
smap <TAB> <Right><Plug>(neosnippet_jump_or_expand)
734734
735735
inoremap <expr><C-g> neocomplcache#undo_completion()

0 commit comments

Comments
 (0)