summaryrefslogtreecommitdiffstats
path: root/syntax/ragel.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/ragel.vim')
-rw-r--r--syntax/ragel.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/ragel.vim b/syntax/ragel.vim
index 1c7b8612..57e89637 100644
--- a/syntax/ragel.vim
+++ b/syntax/ragel.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ragel') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ragel') == -1
" Vim syntax file
"
" Language: Ragel
@@ -166,3 +163,4 @@ hi link caseLabelKeyword Keyword
hi link beginRL Type
let b:current_syntax = "ragel"
+endif