aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/sonictemplate.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/sonictemplate.vim b/autoload/sonictemplate.vim
index 1728de8..a3da853 100644
--- a/autoload/sonictemplate.vim
+++ b/autoload/sonictemplate.vim
@@ -1,7 +1,7 @@
"=============================================================================
" sonictemplate.vim
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
-" Last Change: 09-May-2013.
+" Last Change: 15-May-2013.
let s:save_cpo = &cpo
set cpo&vim
@@ -218,7 +218,7 @@ function! sonictemplate#apply(name, mode, ...) abort
if len(c) == 0
return
endif
- let mx = '{{_filter_:\(\w\+\)}}\s*'
+ let mx = '{{_filter_:\(\W\+\)}}\s*'
let bf = matchstr(c, mx)
if len(bf) > 0
call s:setopt('filter', substitute(bf, mx, '\1', ''))