Add comment syntax to firejail-mode
This commit is contained in:
parent
d4d5da7c62
commit
ab96feb519
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user