summary refs log tree commit diff stats
path: root/user/emacs/init.el
diff options
context:
space:
mode:
authorAlan Pearce2024-06-23 15:29:48 +0200
committerAlan Pearce2024-06-23 15:29:48 +0200
commita04964835bdde663ce69cddcd696bf043c2ec7f3 (patch)
tree1411784d445c344d8ae2b270da7431dab20aa66c /user/emacs/init.el
parent84d05b287083f8754d6b3871a7577997444f4b97 (diff)
downloadnixfiles-a04964835bdde663ce69cddcd696bf043c2ec7f3.tar.lz
nixfiles-a04964835bdde663ce69cddcd696bf043c2ec7f3.tar.zst
nixfiles-a04964835bdde663ce69cddcd696bf043c2ec7f3.zip
emacs: remove add-node-modules-path (use direnv)
Diffstat (limited to 'user/emacs/init.el')
-rw-r--r--user/emacs/init.el10
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