From f045e7e0f888e982994aa1b0ce9f71fa9982ec6f Mon Sep 17 00:00:00 2001 From: mattn Date: Wed, 6 Jun 2012 22:30:10 +0900 Subject: remove {{_inline_}} in base. it mean that don't apply {{_inline_}} for base template. --- autoload/sonictemplate.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/sonictemplate.vim b/autoload/sonictemplate.vim index b67f577..eafb233 100644 --- a/autoload/sonictemplate.vim +++ b/autoload/sonictemplate.vim @@ -97,6 +97,7 @@ function! sonictemplate#apply(name, mode) abort return endif if !buffer_is_not_empty + let c = substitute(c, '{{_inline_}}', '', 'g') if &expandtab || &tabstop != &shiftwidth let c = substitute(c, "\t", repeat(' ', &shiftwidth), 'g') endif -- cgit v1.2.3-54-g00ecf