Fix #411 initialize snippet

This commit is contained in:
Shougo Matsushita 2018-01-12 09:31:51 +09:00
parent b674417b42
commit add11c0c40
1 changed files with 1 additions and 2 deletions

View File

@ -232,8 +232,7 @@ endfunction
function! neosnippet#parser#_initialize_snippet(dict, path, line, pattern, name) abort
let a:dict.word = substitute(a:dict.word, '\n\+$', '', '')
if a:dict.word !~ '\n'
\ && a:dict.word !~
if a:dict.word !~
\ neosnippet#get_placeholder_marker_substitute_pattern().'$'
\ && a:dict.word !~
\ neosnippet#get_placeholder_marker_substitute_zero_pattern()