all repos — nixfiles @ 0264ff400bc6c275aea047e3c717d6f936628b7d

System and user configuration, managed by nix and home-manager

Emacs: Open sailsrc files in json-mode
Alan Pearce alan.pearce@spotcap.com
Mon, 07 Sep 2015 09:06:25 +0200
commit

0264ff400bc6c275aea047e3c717d6f936628b7d

parent

89fe72cd67e94faf6e9a665fafcf6962ecccb663

1 files changed, 3 insertions(+), 2 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1959,8 +1959,9 @@ *** 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