forked from BetterThanTomorrow/calva
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only auto-start clojure-lsp in valid projects
When the `"when-workspace-opened-use-workspace-root"` setting is enabled the clojure-lsp is started in _all_ workspace roots open instead of only valid clojure project roots. This commit reworks this behaviour to first check if the workspace root is a valid Clojure project before attempting to auto-start the lsp server. Addresses BetterThanTomorrow#2041
- Loading branch information
1 parent
26f8b44
commit 5827fb7
Showing
3 changed files
with
27 additions
and
7 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