summaryrefslogtreecommitdiffstats
path: root/syntax/hive.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--syntax/hive.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/hive.vim b/syntax/hive.vim
index e858f9fd..bc0b7fd4 100644
--- a/syntax/hive.vim
+++ b/syntax/hive.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'hive') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'hive') == -1
" Vim syntax file
" Language: HIVE Query Language
" Maintainer: German Lashevich <german.lashevich@gmail.com>
@@ -137,3 +134,4 @@ hi link hiveVar Special
let b:current_syntax = "hive"
" vim: ts=4
+endif