all repos — nixfiles @ 205ff22d5088491657d81c68942775f9b90d5ee0

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

Emacs: Diminish some Javascript minor modes
Alan Pearce alan@alanpearce.eu
Wed, 05 Jul 2017 13:36:01 +0200
commit

205ff22d5088491657d81c68942775f9b90d5ee0

parent

967d4abeb9be21ed2d9f7dcb4025cc8f0dc61a82

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -2225,6 +2225,7 @@ ~M-x indium-connect-to-nodejs RET 127.0.0.1 RET PORT RET~ 
 #+BEGIN_SRC emacs-lisp
 (use-package indium
+  :diminish (indium-interaction-mode . "In")
   :config (progn
             (add-hook 'js2-mode-hook #'indium-interaction-mode)))
 #+END_SRC
@@ -2245,7 +2246,7 @@ completions, besides other IDE-like things. 
 #+BEGIN_SRC emacs-lisp
 (use-package tern
-  :commands ap/enable-tern
+  :diminish tern-mode
   :if (executable-find "tern")
   :defer 5
   :config (progn