Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Respect workspace-lsp-roots on doc opening (helix-editor#12223)
When a new language server is started, find_lsp_workspace is called with LanguageConfiguration::workspace_lsp_roots as the root_dirs. This behavior is different when a new document is opened. find_lsp_workspace is called with editor::Config::workspace_lsp_roots which is never set. This leads to a bug where workspace-lsp-roots is not respected when opening a new document. This commit fixes this bug.
- Loading branch information