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:
parent
1c847402c4
commit
63a5c4239a
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue