diff options
-rw-r--r-- | autoload/sonictemplate.vim | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/autoload/sonictemplate.vim b/autoload/sonictemplate.vim index feeb1d2..d340e8b 100644 --- a/autoload/sonictemplate.vim +++ b/autoload/sonictemplate.vim @@ -221,9 +221,6 @@ function! sonictemplate#apply(name, mode, ...) abort let lhs = lhs[len(indent):] let c = lhs . c . rhs endif - if getline('.') =~ '^\s*$' - silent! normal dd - endif let c = indent . substitute(substitute(c, "\n", "\n".indent, 'g'), "\n".indent."\n", "\n\n", 'g') if len(indent) && (&expandtab || &tabstop != &shiftwidth || indent =~ '^ \+$') let c = substitute(c, "\t", repeat(' ', min([len(indent), &shiftwidth])), 'g') |