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