diff options
Diffstat (limited to 'indent/velocity.vim')
-rw-r--r-- | indent/velocity.vim | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/indent/velocity.vim b/indent/velocity.vim index ba1344bf..01af414b 100644 --- a/indent/velocity.vim +++ b/indent/velocity.vim @@ -1,16 +1,9 @@ -let s:base = expand("<sfile>:h:h") -let Filter = { _, v -> stridx(v, s:base) == -1 && stridx(v, $VIMRUNTIME) == -1 && v !~ "after" } -let files = filter(globpath(&rtp, 'indent/velocity.vim', 1, 1), Filter) -if len(files) > 0 - exec 'source ' . files[0] +if !polyglot#util#IsEnabled('velocity', expand('<sfile>:p')) 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 |