Fix expand target
This commit is contained in:
parent
ea4e91e797
commit
e38afeab49
@ -112,7 +112,7 @@ function! neosnippet#mappings#_expand_target_trigger(trigger) abort
|
|||||||
let cur_text = a:trigger
|
let cur_text = a:trigger
|
||||||
else
|
else
|
||||||
let cur_text = neosnippet#util#get_cur_text()
|
let cur_text = neosnippet#util#get_cur_text()
|
||||||
let cur_text = cur_text[: col-2] . a:trigger . cur_text[col :]
|
let cur_text = cur_text[: col-2] . a:trigger
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call neosnippet#view#_expand(cur_text, col, a:trigger)
|
call neosnippet#view#_expand(cur_text, col, a:trigger)
|
||||||
|
Loading…
Reference in New Issue
Block a user