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