summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.el
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/emacs.d/init.el
parent1e8ce4132e6f4b7dd1e3cc9363f675af1ce65d5c (diff)
downloadnixfiles-7412c7db219c2c85091afb04452dd223c03a223b.tar.lz
nixfiles-7412c7db219c2c85091afb04452dd223c03a223b.tar.zst
nixfiles-7412c7db219c2c85091afb04452dd223c03a223b.zip
Emacs: Install json-mode
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 8e3cb32a..51a9d1fc 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")))