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