summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-06-03 12:33:33 +0200
committerAlan Pearce2015-06-03 12:33:33 +0200
commit7412c7db219c2c85091afb04452dd223c03a223b (patch)
tree8f606a02a6aaeb5783f95dfd08fb5760e875be56 /tag-emacs
parent1e8ce4132e6f4b7dd1e3cc9363f675af1ce65d5c (diff)
downloaddotfiles-7412c7db219c2c85091afb04452dd223c03a223b.tar.lz
dotfiles-7412c7db219c2c85091afb04452dd223c03a223b.tar.zst
dotfiles-7412c7db219c2c85091afb04452dd223c03a223b.zip
Emacs: Install json-mode
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.el3
2 files changed, 4 insertions, 0 deletions
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")))