aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2016-07-01 19:07:59 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2016-07-01 19:07:59 +0900
commitdb8a596b826a76e5731c7b30c8c97c92a84dad4c (patch)
tree29d6005e7000b11cff3b8720569ce73b5d5a3418 /autoload
parent6e21df2de438b8ce118672ff5129fcd8de2d4513 (diff)
downloadvim-sonictemplate-db8a596b826a76e5731c7b30c8c97c92a84dad4c.tar.gz
vim-sonictemplate-db8a596b826a76e5731c7b30c8c97c92a84dad4c.tar.bz2
vim-sonictemplate-db8a596b826a76e5731c7b30c8c97c92a84dad4c.zip
fix pattern
Diffstat (limited to 'autoload')
-rw-r--r--autoload/sonictemplate.vim1
1 files changed, 0 insertions, 1 deletions
diff --git a/autoload/sonictemplate.vim b/autoload/sonictemplate.vim
index 2db9d77..72e5104 100644
--- a/autoload/sonictemplate.vim
+++ b/autoload/sonictemplate.vim
@@ -338,7 +338,6 @@ function! sonictemplate#pattern()
let lhs = lhs[len(indent):]
let c = lhs . c . rhs
endif
- let c = join(split(c, "\n"), "")
call setline('.', line)
silent! exe "normal! a\<c-r>=c\<cr>"
if stridx(c, '{{_cursor_}}') != -1