diff options
Diffstat (limited to 'syntax/merlin.vim')
-rw-r--r-- | syntax/merlin.vim | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/syntax/merlin.vim b/syntax/merlin.vim index 8d6df186..99594704 100644 --- a/syntax/merlin.vim +++ b/syntax/merlin.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/merlin.vim', 1, 1), Filter) -if len(files) > 0 - exec 'source ' . files[0] +if !polyglot#util#IsEnabled('reason', expand('<sfile>:p')) finish endif -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'reason') == -1 " Vim syntax file for editing merlin project files if exists("b:current_syntax") @@ -20,5 +15,3 @@ hi link merlinComment Comment let b:current_syntax = "merlin" - -endif |