summaryrefslogtreecommitdiffstats
path: root/ftplugin/hive.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/hive.vim')
-rw-r--r--ftplugin/hive.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/ftplugin/hive.vim b/ftplugin/hive.vim
index 70daab7d..c7ceb774 100644
--- a/ftplugin/hive.vim
+++ b/ftplugin/hive.vim
@@ -1,6 +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
setlocal comments=:--
setlocal commentstring=--\ %s
+endif