Skip to content

Commit cc35448

Browse files
committed
Updating add-node-modules-path-command to work newer NPMs
codesuki/add-node-modules-path#23
1 parent 311553d commit cc35448

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

init.el

+2
Original file line numberDiff line numberDiff line change
@@ -1598,6 +1598,8 @@ Like `treemacs-next-workspace' with a prefix arg."
15981598

15991599
(use-package add-node-modules-path
16001600
:hook typescript-mode typescript-ts-mode js-mode js-ts-mode
1601+
:config
1602+
(setq add-node-modules-path-command '("echo \"$(npm root)/.bin\""))
16011603
)
16021604

16031605
(use-package prettier-js

0 commit comments

Comments
 (0)