Fix expand snippet error
This commit is contained in:
parent
644b551aff
commit
bbd764ebbc
@ -194,6 +194,10 @@ endfunction"}}}
|
||||
function! neosnippet#mappings#_trigger(function) abort "{{{
|
||||
let [cur_text, col, expr] = neosnippet#mappings#_pre_trigger()
|
||||
|
||||
if !neosnippet#mappings#expandable_or_jumpable()
|
||||
return ''
|
||||
endif
|
||||
|
||||
let expr .= printf("\<ESC>:call %s(%s,%d)\<CR>",
|
||||
\ a:function, string(cur_text), col)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user