diff options
Diffstat (limited to 'syntax/xf86conf.vim')
-rw-r--r-- | syntax/xf86conf.vim | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/syntax/xf86conf.vim b/syntax/xf86conf.vim index 168962a9..7f3e3847 100644 --- a/syntax/xf86conf.vim +++ b/syntax/xf86conf.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, 'syntax/xf86conf.vim', 1, 1), Filter) -if len(files) > 0 - exec 'source ' . files[0] +if !polyglot#util#IsEnabled('xf86conf', expand('<sfile>:p')) finish endif -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'xf86conf') == -1 " Vim syntax file " This is a GENERATED FILE. Please always refer to source file at the URI below. @@ -212,5 +207,3 @@ hi def link xf86confString String hi def link xf86confValue Constant let b:current_syntax = "xf86conf" - -endif |