From 3e2bc8941e91ff3cbe45d061537d10b0969a8cba Mon Sep 17 00:00:00 2001 From: LeafCage Date: Thu, 12 Dec 2013 08:31:10 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20folding=20marker=E3=81=8C=E5=90=AB?= =?UTF-8?q?=E3=81=BE=E3=82=8C=E3=82=8Bsnippet=E3=81=A7=E4=BB=96=E3=81=AE?= =?UTF-8?q?=E7=AA=93=E3=81=AEfolding=E3=81=8C=E9=96=89=E3=81=98=E3=82=89?= =?UTF-8?q?=E3=82=8C=E3=82=8B=E5=95=8F=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- autoload/neosnippet/view.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/neosnippet/view.vim b/autoload/neosnippet/view.vim index 6b33f9f..33130c5 100644 --- a/autoload/neosnippet/view.vim +++ b/autoload/neosnippet/view.vim @@ -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)