summaryrefslogtreecommitdiffstats
path: root/syntax/thrift.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/thrift.vim')
-rw-r--r--syntax/thrift.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/thrift.vim b/syntax/thrift.vim
index 64f51699..4c481332 100644
--- a/syntax/thrift.vim
+++ b/syntax/thrift.vim
@@ -1,5 +1,7 @@
-if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'thrift') == -1
-
+if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'thrift') != -1
+ finish
+endif
+
" Vim syntax file
" Language: Thrift
" Maintainer: Martin Smith <martin@facebook.com>
@@ -98,5 +100,3 @@ endif
let b:current_syntax = "thrift"
-
-endif