summaryrefslogtreecommitdiffstats
path: root/indent/velocity.vim
blob: 43015f0675be0af1546047f5f8646d0a8d718a97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
let files = filter(globpath(&rtp, 'indent/velocity.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, 'velocity') == -1

if exists("b:did_indent")
    finish
endif

runtime! indent/html.vim

endif