diff options
author | Alan Pearce | 2019-11-08 13:03:58 +0100 |
---|---|---|
committer | Alan Pearce | 2019-11-08 13:03:58 +0100 |
commit | 1deaf913d735d5052db37fce0aa8b58293216427 (patch) | |
tree | ce837ad5d015b3db3d489c0ba0639af23e5610fb /user/emacs | |
parent | a17a75c72e355528a46e0beaea569159ab2a5d4b (diff) | |
download | nixfiles-1deaf913d735d5052db37fce0aa8b58293216427.tar.lz nixfiles-1deaf913d735d5052db37fce0aa8b58293216427.tar.zst nixfiles-1deaf913d735d5052db37fce0aa8b58293216427.zip |
Emacs: limit node_modules recursive upwards search
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/.emacs.d/init.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el index cf50c204..f3892db7 100644 --- a/user/emacs/.emacs.d/init.el +++ b/user/emacs/.emacs.d/init.el @@ -771,6 +771,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve ;; 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 |