summaryrefslogtreecommitdiffstats
path: root/syntax/raml.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/raml.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/raml.vim b/syntax/raml.vim
index aec1d95a..b52cf23b 100644
--- a/syntax/raml.vim
+++ b/syntax/raml.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'raml') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'raml') == -1
" Vim syntax file
" Language: RAML (RESTful API Modeling Language)
" Maintainer: Eric Hopkins <eric.on.tech@gmail.com>
@@ -108,3 +105,4 @@ let b:current_syntax = "raml"
let &cpo = s:cpo_save
unlet s:cpo_save
+endif