aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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