Fix completed snippet
This commit is contained in:
parent
5c9655eb75
commit
c76a668f40
@ -55,7 +55,7 @@ function! neosnippet#handlers#_complete_done() "{{{
|
|||||||
" Make snippet arguments
|
" Make snippet arguments
|
||||||
let cnt = 1
|
let cnt = 1
|
||||||
let snippet = item.word
|
let snippet = item.word
|
||||||
if snippet !~ '($'
|
if snippet !~ '()\?$'
|
||||||
let snippet .= '('
|
let snippet .= '('
|
||||||
endif
|
endif
|
||||||
for arg in split(matchstr(abbr, '(\zs.\{-}\ze)'), '[^[]\zs\s*,\s*')
|
for arg in split(matchstr(abbr, '(\zs.\{-}\ze)'), '[^[]\zs\s*,\s*')
|
||||||
|
Loading…
Reference in New Issue
Block a user