Fix completed snippet behavior

This commit is contained in:
Shougo Matsushita
2016-02-06 11:50:02 +09:00
parent a323d8255a
commit 232d2e8def
3 changed files with 11 additions and 6 deletions

View File

@@ -381,6 +381,11 @@ function! neosnippet#parser#_get_completed_snippet(completed_item, next_text) "{
endfor
let snippet .= args
if key != '(' && snippet == ''
let snippet .= '${' . cnt . '}'
let cnt += 1
endif
let snippet .= pair
let snippet .= '${' . cnt . '}'