Hook +javascript-npm-mode into typescript-mode
This way typescript projects will be aware of node_modules.
This commit is contained in:
parent
451c16b8ee
commit
29f119ad4d
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@
|
|||
;; Projects
|
||||
|
||||
(def-project-mode! +javascript-npm-mode
|
||||
:modes (html-mode css-mode web-mode js2-mode rjsx-mode json-mode markdown-mode)
|
||||
:modes (html-mode css-mode web-mode typescript-mode js2-mode rjsx-mode json-mode markdown-mode)
|
||||
:when (locate-dominating-file default-directory "package.json")
|
||||
:add-hooks (+javascript|add-node-modules-path npm-mode))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue