summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-04-27 11:00:31 +0200
committerAlan Pearce2017-04-27 11:00:31 +0200
commit1ac542cf9b0276d5c833658442baaa46502a1585 (patch)
tree14f73678849b14410c2c8ba2c4aac00c7747637a /emacs
parentcff2e1af757994b2b992752245cb505e33775cbe (diff)
downloadnixfiles-1ac542cf9b0276d5c833658442baaa46502a1585.tar.lz
nixfiles-1ac542cf9b0276d5c833658442baaa46502a1585.tar.zst
nixfiles-1ac542cf9b0276d5c833658442baaa46502a1585.zip
Reduce JS highlighting
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 066ed154..e2e06a6d 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -2039,7 +2039,8 @@ it though
             (bind-key "M-g M-n" #'js2-next-error js2-mode-map)
             (bind-key "M-g M-p" #'ap/js2-prev-error js2-mode-map)
             (setq js2-basic-offset 2
-                  js2-include-node-externs t)))
+                  js2-include-node-externs t
+                  js2-highlight-level 1)))
 #+END_SRC
 
 **** jade (not pug)