From 1a639b7341a3fa1745858ea3ce8716ad1838d390 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 6 Sep 2022 20:00:31 +0200 Subject: [PATCH] feat: add auto-mode-alist entries for future doom dotfiles --- lisp/doom-start.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/doom-start.el b/lisp/doom-start.el index 1601fa03d..324d01efe 100644 --- a/lisp/doom-start.el +++ b/lisp/doom-start.el @@ -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)