aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-03-06 11:28:00 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-03-06 11:28:00 +0900
commit55288245b005076c424da33f15b3f2301af24f3a (patch)
tree37262794c618b124df1142fb0affcc66093a986c /autoload
parenta969567ded55bc8449c60bad2b24cf164ec2e1a8 (diff)
downloadvim-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')
-rw-r--r--autoload/sonictemplate.vim2
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