Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix lsp client path comparisons on Windows
The api method for finding an LSP client for a given document URI was written to stop traversing when encountering the OS root. This logic assumed POSIX paths and did not work correctly on Windows platforms. This updates the clojure-lsp client ids to use the uri.fsPath which is platform agnostic and updates the root path comparison in the lsp api to compare in a platform agnostic manner.
- Loading branch information
1 parent
3c63e76
commit 4ac9237
Showing
3 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters