From e809e9ddba4e5b165bf50686b3ef84e5075f2b50 Mon Sep 17 00:00:00 2001 From: Able Date: Wed, 4 Dec 2024 15:57:10 -0600 Subject: [PATCH] Add a comment to explain where to change the regex to better match hblang --- config.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config.el b/config.el index 1349267..ae5f9ad 100644 --- a/config.el +++ b/config.el @@ -87,14 +87,13 @@ (modify-syntax-entry ?/ ". 124b" table) (modify-syntax-entry ?* ". 23" table) (modify-syntax-entry ?\n "> b" table) - ;; Lisp-style comments. - ;; (modify-syntax-entry ?\; "< b" table) table) "Syntax table for `hblang-mode'.") (defvar hblang-font-lock-keywords - '(("[a-zA-Z]+" (1 font-lock-function-name-face)) - ("[a-z]" (1 font-lock-variable-name-face))) + ;; Change the "" quoted regex to do various forms of highlighting. + '(("" (1 font-lock-function-name-face)) + ("" (1 font-lock-variable-name-face))) "Highlight rules for `hblang-mode'.") (define-derived-mode hblang-mode prog-mode "hb"