Browse Source

Fix expand target

PR/fix-warning
Shougo Matsushita 6 years ago
parent
commit
e38afeab49
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      autoload/neosnippet/mappings.vim

+ 1
- 1
autoload/neosnippet/mappings.vim View File

@@ -112,7 +112,7 @@ function! neosnippet#mappings#_expand_target_trigger(trigger) abort
let cur_text = a:trigger
else
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

call neosnippet#view#_expand(cur_text, col, a:trigger)


Loading…
Cancel
Save