From 6c2f198114951322a12140398d25721c45809670 Mon Sep 17 00:00:00 2001 From: David Corking <2813357+dcorking@users.noreply.github.com> Date: Tue, 2 Jul 2024 14:20:49 +0100 Subject: [PATCH] Support .env.local and .env.local.sample --- lisp/init-local.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/init-local.el b/lisp/init-local.el index 2816b51d20..e2bc3b98ca 100644 --- a/lisp/init-local.el +++ b/lisp/init-local.el @@ -40,7 +40,8 @@ ;; .env , .env.local etc ;; (when (maybe-require-package 'dotenv-mode) - (add-to-list 'auto-mode-alist '("\\.env\\..*\\'" . dotenv-mode))) + (add-to-list 'auto-mode-alist '("\\.env\\..*\\'" . dotenv-mode)) + (add-to-list 'auto-mode-alist '("\\.env\\.local\\.sample\\'" . dotenv-mode))) ;; ;; Standard ML language