diff options
Diffstat (limited to 'ftplugin/sexplib.vim')
-rw-r--r-- | ftplugin/sexplib.vim | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ftplugin/sexplib.vim b/ftplugin/sexplib.vim index 16af8a15..c019c9e4 100644 --- a/ftplugin/sexplib.vim +++ b/ftplugin/sexplib.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/sexplib.vim', 1, 1), Filter) -if len(files) > 0 - exec 'source ' . files[0] +if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p')) finish endif -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ocaml') == -1 " Language: Sexplib " Maintainer: Markus Mottl <markus.mottl@gmail.com> @@ -21,5 +16,3 @@ let b:did_ftplugin=1 " Comment string setl commentstring=;\ %s setl comments=:; - -endif |