summaryrefslogtreecommitdiffstats
path: root/syntax/sxhkdrc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/sxhkdrc.vim')
-rw-r--r--syntax/sxhkdrc.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/sxhkdrc.vim b/syntax/sxhkdrc.vim
index 0ed560a6..c44ab0c0 100644
--- a/syntax/sxhkdrc.vim
+++ b/syntax/sxhkdrc.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'sxhkd') == -1
+
if exists("b:current_syntax")
finish
endif
@@ -25,4 +26,5 @@ hi def link sxHotkeySep Delimiter
hi def link sxSequenceSep Delimiter
let b:current_syntax = "sxhkdrc"
+
endif