summaryrefslogtreecommitdiffstats
path: root/syntax/merlin.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/merlin.vim')
-rw-r--r--syntax/merlin.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/merlin.vim b/syntax/merlin.vim
index 9c2d2ee4..97f400d1 100644
--- a/syntax/merlin.vim
+++ b/syntax/merlin.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'reason') != -1
- 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")
finish
@@ -15,3 +12,4 @@ hi link merlinComment Comment
let b:current_syntax = "merlin"
+endif