diff options
Diffstat (limited to 'indent/html.vim')
-rw-r--r-- | indent/html.vim | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/indent/html.vim b/indent/html.vim index c8922278..b6ade453 100644 --- a/indent/html.vim +++ b/indent/html.vim @@ -1,11 +1,6 @@ -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/html.vim', 1, 1), Filter) -if len(files) > 0 - exec 'source ' . files[0] +if !polyglot#util#IsEnabled('html', expand('<sfile>:p')) finish endif -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html') == -1 " Vim indent script for HTML " Maintainer: Bram Moolenaar @@ -1087,5 +1082,3 @@ let &cpo = s:cpo_save unlet s:cpo_save " vim: fdm=marker ts=8 sw=2 tw=78 - -endif |