mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/javascript: update tide project resolution
To match projectile changes upstream. Fixes an error when opening an arbitrary JS file in a non-project root.
This commit is contained in:
@ -117,4 +117,5 @@ prioritize project-local packages over global ones."
|
||||
(or tide-project-root
|
||||
(or (locate-dominating-file default-directory "tsconfig.json")
|
||||
(locate-dominating-file default-directory "jsconfig.json"))
|
||||
(doom-project-root)))
|
||||
(or (doom-project-root)
|
||||
default-directory)))
|
||||
|
Reference in New Issue
Block a user