Emacs: limit node_modules recursive upwards search
Alan Pearce alan@alanpearce.eu
Fri, 08 Nov 2019 13:03:58 +0100
1 files changed, 1 insertions(+), 0 deletions(-)
jump to
M user/emacs/.emacs.d/init.el → user/emacs/.emacs.d/init.el
@@ -771,6 +771,7 @@ ;; Inside a javascript project, it's common to install tools locally to ;; the project. This will allows emacs to find their executables. (use-package add-node-modules-path + :config (setq add-node-modules-max-depth 6) :ghook ('(js2-mode-hook typescript-mode-hook) #'add-node-modules-path)) ;;;; Reformat on save