all repos — nixfiles @ 1deaf913d735d5052db37fce0aa8b58293216427

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

Emacs: limit node_modules recursive upwards search

Alan Pearce
commit

1deaf913d735d5052db37fce0aa8b58293216427

parent

a17a75c72e355528a46e0beaea569159ab2a5d4b

1 file changed, 1 insertion(+), 0 deletions(-)

jump to
M user/emacs/.emacs.d/init.eluser/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