feat: add auto-mode-alist entries for future doom dotfiles

This commit is contained in:
Henrik Lissner 2022-09-06 20:00:31 +02:00
parent b68c93d924
commit 1a639b7341
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -163,7 +163,7 @@ If RETURN-P, return the message as a string instead of displaying it."
(float-time (time-subtract (current-time) before-init-time))))))
;; Add support for additional file extensions.
(dolist (entry '(("/\\.doomrc\\'" . emacs-lisp-mode)
(dolist (entry '(("/\\.doom\\(?:rc\\|project\\|module\\|profile\\)\\'" . emacs-lisp-mode)
("/LICENSE\\'" . text-mode)
("\\.log\\'" . text-mode)
("rc\\'" . conf-mode)