From 7412c7db219c2c85091afb04452dd223c03a223b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 3 Jun 2015 12:33:33 +0200 Subject: Emacs: Install json-mode --- tag-emacs/emacs.d/Cask | 1 + tag-emacs/emacs.d/init.el | 3 +++ 2 files changed, 4 insertions(+) diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index 9f03ef1..4a1c18b 100644 --- a/tag-emacs/emacs.d/Cask +++ b/tag-emacs/emacs.d/Cask @@ -67,6 +67,7 @@ (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") diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 8e3cb32..51a9d1f 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1421,6 +1421,9 @@ symbol, not word, as I need this for programming the most." (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"))) -- cgit 1.4.1