summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.org
diff options
context:
space:
mode:
authorAlan Pearce2015-09-07 09:06:25 +0200
committerAlan Pearce2015-09-07 09:06:25 +0200
commit0264ff400bc6c275aea047e3c717d6f936628b7d (patch)
tree660e80050f366062d8d38c77d14608c02d23140c /tag-emacs/emacs.d/init.org
parent89fe72cd67e94faf6e9a665fafcf6962ecccb663 (diff)
downloadnixfiles-0264ff400bc6c275aea047e3c717d6f936628b7d.tar.lz
nixfiles-0264ff400bc6c275aea047e3c717d6f936628b7d.tar.zst
nixfiles-0264ff400bc6c275aea047e3c717d6f936628b7d.zip
Emacs: Open sailsrc files in json-mode
Diffstat (limited to 'tag-emacs/emacs.d/init.org')
-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 dda82272..90287f9c 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