all repos — archive/dotfiles @ 11b419661896ab2ecb394d540670ff5163a37757

Superseded by nixfiles

Emacs: run add-node-modules-path also for typescript

Alan Pearce
commit

11b419661896ab2ecb394d540670ff5163a37757

parent

fc2a4fd893a9eee11d50716a775cf4efcc69dc2a

1 file changed, 3 insertions(+), 1 deletion(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -2148,7 +2148,9 @@ ;; the project. This will allows emacs to find their executables.
(use-package add-node-modules-path :config (progn - (define-hook-helper js2-mode () + (create-hook-helper js2-mode () + :hooks (js2-mode-hook + typescript-mode-hook) :name node-modules-flycheck (add-node-modules-path) (when (executable-find "eslint")