diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2015-10-02 19:48:21 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2015-10-02 19:48:21 +0900 |
commit | 89f67a9bacbcdcccd631dc4c0deab45c1c402eb7 (patch) | |
tree | 6bd6dcb9aebda582a559b4963467ca3f4d1b2507 /autoload/sonictemplate.vim | |
parent | b7fcf86759361752f669721742b308dc60c1f96e (diff) | |
download | vim-sonictemplate-89f67a9bacbcdcccd631dc4c0deab45c1c402eb7.tar.gz vim-sonictemplate-89f67a9bacbcdcccd631dc4c0deab45c1c402eb7.tar.bz2 vim-sonictemplate-89f67a9bacbcdcccd631dc4c0deab45c1c402eb7.zip |
java package name
Diffstat (limited to 'autoload/sonictemplate.vim')
-rw-r--r-- | autoload/sonictemplate.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/sonictemplate.vim b/autoload/sonictemplate.vim index 9f742ff..de61a07 100644 --- a/autoload/sonictemplate.vim +++ b/autoload/sonictemplate.vim @@ -253,6 +253,7 @@ function! sonictemplate#apply(name, mode, ...) abort endwhile sandbox let c = substitute(c, '{{_if_:\(.\{-}\);\(.\{-}\)\(;\(.\{-}\)\)\{-}}}', '\=eval(submatch(1))?submatch(2):submatch(4)', 'g') sandbox let c = substitute(c, '{{_expr_:\(.\{-}\)}}', '\=eval(submatch(1))', 'g') + silent! let c = substitute(c, '{{_lang_util_:\(.\{-}\)}}', '\=sonictemplate#lang#{ft}#util(submatch(1))', 'g') if len(c) == 0 return endif |