Fix some bugs and random things

This commit is contained in:
2024-12-20 15:16:44 -08:00
parent 5c3c492fd8
commit b148423914
3 changed files with 23 additions and 15 deletions

View File

@ -122,12 +122,12 @@ dbus-\\(system\\|user\\) +\\(none\\|filter\\)?\\)" . 2))
(define-derived-mode firejail-profile-mode prog-mode "Firejail-Profile"
"Major mode for editing firejail profiles."
:syntax-table firejail-profile-syntax-table
(add-to-list (make-local-variable 'completion-at-point-functions)
#'firejail-profile-capf)
(setq-local font-lock-defaults '(firejail-profile-font-lock-keywords)
comment-start "#"
comment-end "")
(set-syntax-table firejail-profile-syntax-table))
comment-end ""))
(add-to-list 'auto-mode-alist
'("\\.\\(firejail\\|profile\\|local\\)$" . firejail-profile-mode))