summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-05-22 16:49:37 +0200
committerAlan Pearce2015-05-22 16:49:37 +0200
commit72955df98c117aa5d86dbd44ce196d213e56810f (patch)
tree324016729a481cf2c4e3d196b8cc4f952938224d /tag-emacs
parente6d7513cc93c24cdcb839384bba3e9714c1e8601 (diff)
downloaddotfiles-72955df98c117aa5d86dbd44ce196d213e56810f.tar.lz
dotfiles-72955df98c117aa5d86dbd44ce196d213e56810f.tar.zst
dotfiles-72955df98c117aa5d86dbd44ce196d213e56810f.zip
Emacs: Open .envrc files with sh-mode
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 92525d8..694e984 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -768,6 +768,8 @@ mouse-1: Display Line and Column Mode Menu"))))))
 (add-to-list 'auto-mode-alist '("\\.target\\'" . conf-mode))
 (add-to-list 'auto-mode-alist '("\\.socket\\'" . conf-mode))
 
+(add-to-list 'auto-mode-alist '("\\.envrc\\'" . sh-mode))
+
 (req-package xrdb-mode
   :mode (("\\.Xdefaults\\'" . xrdb-mode)
          ("\\.Xresources\\'" . xrdb-mode)))