Emacs: run add-node-modules-path also for typescript
Alan Pearce alan@alanpearce.eu
Fri, 02 Feb 2018 15:25:55 +0100
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.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")