summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-09-07 09:06:25 +0200
committerAlan Pearce2015-09-07 09:06:25 +0200
commit0264ff400bc6c275aea047e3c717d6f936628b7d (patch)
tree660e80050f366062d8d38c77d14608c02d23140c
parent89fe72cd67e94faf6e9a665fafcf6962ecccb663 (diff)
downloaddotfiles-0264ff400bc6c275aea047e3c717d6f936628b7d.tar.lz
dotfiles-0264ff400bc6c275aea047e3c717d6f936628b7d.tar.zst
dotfiles-0264ff400bc6c275aea047e3c717d6f936628b7d.zip
Emacs: Open sailsrc files in json-mode
-rw-r--r--tag-emacs/emacs.d/init.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index dda8227..90287f9 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1959,8 +1959,9 @@ completions, besides other IDE-like things.
 *** json-mode
 
 #+BEGIN_SRC emacs-lisp
-(req-package json-mode
-  :mode ("\\.json\\'" . json-mode))
+  (req-package json-mode
+    :mode (("\\.json\\'" . json-mode)
+           ("\\.sailsrc\\'" . json-mode)))
 #+END_SRC
 
 *** restclient