diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-03-06 11:28:00 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-03-06 11:28:00 +0900 |
commit | 55288245b005076c424da33f15b3f2301af24f3a (patch) | |
tree | 37262794c618b124df1142fb0affcc66093a986c /autoload/sonictemplate.vim | |
parent | a969567ded55bc8449c60bad2b24cf164ec2e1a8 (diff) | |
download | vim-sonictemplate-55288245b005076c424da33f15b3f2301af24f3a.tar.gz vim-sonictemplate-55288245b005076c424da33f15b3f2301af24f3a.tar.bz2 vim-sonictemplate-55288245b005076c424da33f15b3f2301af24f3a.zip |
postfix must be overwritable by user's template
Diffstat (limited to 'autoload/sonictemplate.vim')
-rw-r--r-- | autoload/sonictemplate.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/sonictemplate.vim b/autoload/sonictemplate.vim index f828b2a..19dd9e1 100644 --- a/autoload/sonictemplate.vim +++ b/autoload/sonictemplate.vim @@ -409,7 +409,7 @@ function! sonictemplate#load_postfix() abort return endif let tmp = [] - for tmpldir in s:tmpldir + for tmpldir in reverse(s:tmpldir) let tmp += split(globpath(join([tmpldir, ft], '/'), 'pattern.stpl'), "\n") endfor if len(tmp) == 0 |