Add add-node-modules-path package to lang/javascript
And use it on json-mode.
This commit is contained in:
parent
346a90c95d
commit
17dd1c6527
3 changed files with 3 additions and 13 deletions
|
@ -292,10 +292,11 @@ to tide."
|
|||
web-mode
|
||||
markdown-mode
|
||||
js-mode
|
||||
json-mode
|
||||
typescript-mode
|
||||
solidity-mode)
|
||||
:when (locate-dominating-file default-directory "package.json")
|
||||
:add-hooks '(+javascript-add-node-modules-path-h npm-mode))
|
||||
:add-hooks '(add-node-modules-path npm-mode))
|
||||
|
||||
(def-project-mode! +javascript-gulp-mode
|
||||
:when (locate-dominating-file default-directory "gulpfile.js"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue