Closed himkt closed 5 years ago
I submitted #457 to fix this.
@alindeman Awesome, thanks a lot!
@Shougo I put a tiny reproducible init.vim below.
call plug#begin('~/.vim/plugged')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'Shougo/neosnippet.vim'
Plug 'Shougo/neosnippet-snippets'
call plug#end()
let g:deoplete#enable_at_startup = 1
imap <C-k> <Plug>(neosnippet_expand_or_jump)
smap <C-k> <Plug>(neosnippet_expand_or_jump)
xmap <C-k> <Plug>(neosnippet_expand_target)
My environment can be reproduced in this Dockerfile
I got the error
E121: Undefined variable: cur_text
. Error trace said below.I suspect this error has occurred by recent changes (https://github.com/Shougo/neosnippet.vim/commit/5ddf9e8c6f6c82236aa5172932b00c88fe36eca2 or https://github.com/Shougo/neosnippet.vim/commit/381bc2162f9c069485c5aa5810cafecb39c6cebe).
To give some clues, I forked neosnippet.vim and set a943f93433cb467688b405b62922c7e6013edeb8 as HEAD https://github.com/himkt/neosnippet.vim
Using
himkt/neosnippet.vim
, I do not observe the error.