Skip to content

Commit

Permalink
Support .env.local and .env.local.sample
Browse files Browse the repository at this point in the history
  • Loading branch information
dcorking committed Jul 2, 2024
1 parent 944603c commit 6c2f198
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lisp/init-local.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c2f198

Please sign in to comment.