Add comment syntax to firejail-mode

This commit is contained in:
Alexander Rosenberg 2024-10-24 23:35:56 -07:00
parent d4d5da7c62
commit ab96feb519
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -124,7 +124,9 @@ dbus-\\(system\\|user\\) +\\(none\\|filter\\)?\\)" . 2))
"Major mode for editing firejail profiles." "Major mode for editing firejail profiles."
(add-to-list (make-local-variable 'completion-at-point-functions) (add-to-list (make-local-variable 'completion-at-point-functions)
#'firejail-profile-capf) #'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)) (set-syntax-table firejail-profile-syntax-table))
(add-to-list 'auto-mode-alist (add-to-list 'auto-mode-alist