From ab96feb519f405735e91469e059f69872448b94b Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Thu, 24 Oct 2024 23:35:56 -0700 Subject: [PATCH] Add comment syntax to firejail-mode --- elisp/firejail-mode.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/elisp/firejail-mode.el b/elisp/firejail-mode.el index 1aefc6c..3c875bf 100644 --- a/elisp/firejail-mode.el +++ b/elisp/firejail-mode.el @@ -124,7 +124,9 @@ dbus-\\(system\\|user\\) +\\(none\\|filter\\)?\\)" . 2)) "Major mode for editing firejail profiles." (add-to-list (make-local-variable 'completion-at-point-functions) #'firejail-profile-capf) - (setq-local font-lock-defaults '(firejail-profile-font-lock-keywords)) + (setq-local font-lock-defaults '(firejail-profile-font-lock-keywords) + comment-start "#" + comment-end "") (set-syntax-table firejail-profile-syntax-table)) (add-to-list 'auto-mode-alist