fix: folding markerが含まれるsnippetで他の窓のfoldingが閉じられる問題

This commit is contained in:
LeafCage 2013-12-12 08:31:10 +09:00
parent f43b9a7197
commit 3e2bc8941e
1 changed files with 1 additions and 1 deletions

View File

@ -93,10 +93,10 @@ function! neosnippet#view#_expand(cur_text, col, trigger_name) "{{{
let expand_stack = neosnippet#variables#expand_stack()
try
call setline('.', snippet_lines[0])
if len(snippet_lines) > 1
call append('.', snippet_lines[1:])
endif
call setline('.', snippet_lines[0])
if begin_line != end_line || snippet.options.indent
call s:indent_snippet(begin_line, end_line)