From a04964835bdde663ce69cddcd696bf043c2ec7f3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 23 Jun 2024 15:29:48 +0200 Subject: emacs: remove add-node-modules-path (use direnv) --- user/emacs/init.el | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'user/emacs') 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 -- cgit 1.4.1