summaryrefslogtreecommitdiffstats
path: root/indent/autohotkey.vim
diff options
context:
space:
mode:
Diffstat (limited to 'indent/autohotkey.vim')
-rw-r--r--indent/autohotkey.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/indent/autohotkey.vim b/indent/autohotkey.vim
index c04d94dd..4fb87f0b 100644
--- a/indent/autohotkey.vim
+++ b/indent/autohotkey.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'autohotkey') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'autohotkey') == -1
" Vim indent file
" Language: AutoHotkey
" Maintainer: Hirotoshi Namikawa <hnamikaw1@gmail.com>
@@ -221,3 +218,4 @@ function! GetAutoHotkeyIndent()
endfunction
let b:did_indent = 1
+endif