-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Check for a bogus root folder in workspace/didChangeWorkspaceFol…
…ders request (#380) Sometimes, LSP clients can send bogus folders (CWD, or homedir) as part of added folders in didChangeWorkspaceFolders. Whenever this happens marksman treats the root as the real root of the project folders and recursively scans/indexes mardown documents underneath.This is problematic when such root is a homedir because it makes marksman scan too much and potentially fail. Fixes #377 Potentially, addresses #373 too
- Loading branch information
1 parent
b9ec789
commit 8299f11
Showing
4 changed files
with
39 additions
and
32 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
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