summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2023-02-05 09:37:57 +0200
committerProtesilaos Stavrou <info@protesilaos.com>2023-02-05 09:37:57 +0200
commite9a0f1df4aec58baa0373bbcf2dbb69989801427 (patch)
tree5fe787864d59a555de4c04ddcd7fe201e49cef3e
parentc1cbdf9e6ff690e375e8f714c52822f9da781b3d (diff)
Tweak comment-start-skip
-rw-r--r--sxhkdrc-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sxhkdrc-mode.el b/sxhkdrc-mode.el
index de45ea8..6456db1 100644
--- a/sxhkdrc-mode.el
+++ b/sxhkdrc-mode.el
@@ -120,7 +120,7 @@ key chord chain (demarcated by a colon or semicolon)."
"Major mode for editing sxhkdrc files (Simple X Hot Key Daemon)."
(setq-local indent-line-function 'sxhkdrc-mode-indent-line
comment-start "# "
- comment-start-skip "#+ *")
+ comment-start-skip "#+[\t\s]*")
(setq font-lock-defaults '(sxhkdrc-mode-font-lock-keywords)))
;;;###autoload