mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Rethink what Doom loads at startup and manually
Better to simply load what we need, when we need it, rather than set up autoloads for every litte thing.
This commit is contained in:
@ -11,6 +11,7 @@ ignore the cache."
|
||||
(gethash project-root +javascript-npm-conf))
|
||||
(let ((package-file (expand-file-name "package.json" project-root)))
|
||||
(when-let* ((json (and (file-exists-p package-file)
|
||||
(require 'json)
|
||||
(json-read-file package-file))))
|
||||
(puthash project-root json +javascript-npm-conf))))))
|
||||
|
||||
|
Reference in New Issue
Block a user