summaryrefslogtreecommitdiffstats
path: root/syntax/asl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/asl.vim')
-rw-r--r--syntax/asl.vim6
1 files changed, 2 insertions, 4 deletions
diff --git a/syntax/asl.vim b/syntax/asl.vim
index 67f3237f..3e89f444 100644
--- a/syntax/asl.vim
+++ b/syntax/asl.vim
@@ -1,7 +1,4 @@
-if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'acpiasl') != -1
- finish
-endif
-
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'acpiasl') == -1
" Vim syntax file
" Language: ACPI ASL files
" Maintainer: Martin L Roth <gaumless@gmail.com>
@@ -110,3 +107,4 @@ hi def link aslNumber Number
let b:current_syntax = "asl"
syn sync minlines=200
+endif