diff options
Diffstat (limited to 'ftplugin/8th.vim')
-rw-r--r-- | ftplugin/8th.vim | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ftplugin/8th.vim b/ftplugin/8th.vim index befe694b..5199a7bf 100644 --- a/ftplugin/8th.vim +++ b/ftplugin/8th.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, 'ftplugin/8th.vim', 1, 1), Filter) -if len(files) > 0 - exec 'source ' . files[0] +if !polyglot#util#IsEnabled('8th', expand('<sfile>:p')) finish endif -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, '8th') == -1 " Vim ftplugin file " Language: 8th @@ -32,5 +27,3 @@ setlocal fo=tcrqol setlocal matchpairs+=\::; setlocal iskeyword=!,@,33-35,%,$,38-64,A-Z,91-96,a-z,123-126,128-255 setlocal suffixesadd=.8th - -endif |