diff options
author | Alan Pearce | 2024-06-23 15:29:48 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-23 15:29:48 +0200 |
commit | a04964835bdde663ce69cddcd696bf043c2ec7f3 (patch) | |
tree | 1411784d445c344d8ae2b270da7431dab20aa66c /user/emacs | |
parent | 84d05b287083f8754d6b3871a7577997444f4b97 (diff) | |
download | nixfiles-a04964835bdde663ce69cddcd696bf043c2ec7f3.tar.lz nixfiles-a04964835bdde663ce69cddcd696bf043c2ec7f3.tar.zst nixfiles-a04964835bdde663ce69cddcd696bf043c2ec7f3.zip |
emacs: remove add-node-modules-path (use direnv)
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 3abd3633..15b92090 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -1212,16 +1212,6 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve (call-interactively #'consult-lsp-symbols) (call-interactively #'consult-eglot-symbols))) -;; 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 ('(feature-mode-hook - js-base-mode-hook - json-ts-mode-hook - typescript-ts-mode-hook) - #'add-node-modules-path)) ;;;; Reformat on save |