diff options
| author | 2025-06-24 15:38:15 -0700 | |
|---|---|---|
| committer | 2025-06-24 15:38:15 -0700 | |
| commit | 9a4ceb5d88c954f4c5c7834c333f6c71c0b94d0a (patch) | |
| tree | 4eb8965561b743333df4d908db004ad9318a59a0 | |
| parent | 2a2981ee9ee5273d92164b955c7bc5caf14249d9 (diff) | |
| download | emacs-config-9a4ceb5d88c954f4c5c7834c333f6c71c0b94d0a.tar.gz emacs-config-9a4ceb5d88c954f4c5c7834c333f6c71c0b94d0a.zip | |
oni-sh: Make .env files sh-mode files
| -rw-r--r-- | oni-sh.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2021.0715.215613 +;; Version: 2025.0624.144537 ;; Package-Requires: (reformatter oni-flycheck oni-smartparens) ;; This program is free software; you can redistribute it and/or modify @@ -55,6 +55,8 @@ ;;;###autoload (add-to-list 'auto-mode-alist '("PKGBUILD\\'" . sh-mode)) +;;;###autoload +(add-to-list 'auto-mode-alist `(,(rx "/.env" (optional (or ".dev" ".development" ".testing" ".production" ".example")) eos) . sh-mode)) (provide 'oni-sh) ;;; oni-sh.el ends here |
