diff options
Diffstat (limited to 'syntax/abc.vim')
-rw-r--r-- | syntax/abc.vim | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/syntax/abc.vim b/syntax/abc.vim index 7bb3ddd0..8bbd911a 100644 --- a/syntax/abc.vim +++ b/syntax/abc.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/abc.vim', 1, 1), Filter) -if len(files) > 0 - exec 'source ' . files[0] +if !polyglot#util#IsEnabled('abc', expand('<sfile>:p')) finish endif -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'abc') == -1 " Vim syntax file " Language: abc music notation language @@ -58,5 +53,3 @@ hi def link abcNote Constant let b:current_syntax = "abc" " vim: ts=4 - -endif |