all repos — nixfiles @ 7412c7db219c2c85091afb04452dd223c03a223b

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

Emacs: Install json-mode
Alan Pearce alan.pearce@spotcap.com
Wed, 03 Jun 2015 12:33:33 +0200
commit

7412c7db219c2c85091afb04452dd223c03a223b

parent

1e8ce4132e6f4b7dd1e3cc9363f675af1ce65d5c

2 files changed, 4 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/Casktag-emacs/emacs.d/Cask
@@ -67,6 +67,7 @@ (depends-on "ido-vertical-mode") (depends-on "jinja2-mode")
 (depends-on "jquery-doc")
 (depends-on "js2-mode")
+(depends-on "json-mode")
 (depends-on "ledger-mode")
 (depends-on "let-alist")
 (depends-on "litable")
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -1421,6 +1421,9 @@ (add-hook 'js2-mode-hook #'ap/javascript-setup)             (setq js2-basic-offset 4
                   js2-include-node-externs t)))
 
+(req-package json-mode
+  :mode ("\\.json\\'" . json-mode))
+
 (req-package tern
   :config (progn
             (setq tern-command (list (executable-find "tern")))