summaryrefslogtreecommitdiffstats
path: root/ftplugin/mustache.vim
blob: 349ec236885b992d12f63f7ae1e092bef423ee54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
let files = filter(globpath(&rtp, 'ftplugin/mustache.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
if len(files) > 0
  exec 'source ' . files[0]
  finish
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'handlebars') == -1

runtime! ftplugin/handlebars*.vim ftplugin/handlebars/*.vim

endif