diff options
author | Alexis Mousset | 2021-12-31 08:06:54 +0000 |
---|---|---|
committer | GitHub | 2021-12-31 08:06:54 +0000 |
commit | 8a019b423f5d51bcfc107da9cb50aa90eacff19d (patch) | |
tree | 2f5dfede14f1566ecafc5651767f9e2306f81c53 /helix-lsp/src/lib.rs | |
parent | 8fda87af2bb0625c502a23ddbd78a7447ada7bcb (diff) |
Detect workspace root using language markers (#1370)
* Detect workspace root using language markers
* Avoid allocating root_markers
* Update helix-core/src/lib.rs
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Update helix-core/src/lib.rs
Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com>
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Co-authored-by: Kirawi <67773714+kirawi@users.noreply.github.com>
Diffstat (limited to 'helix-lsp/src/lib.rs')
-rw-r--r-- | helix-lsp/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-lsp/src/lib.rs b/helix-lsp/src/lib.rs index 8fb321bc..1eb1c151 100644 --- a/helix-lsp/src/lib.rs +++ b/helix-lsp/src/lib.rs @@ -326,6 +326,7 @@ impl Registry { &config.command, &config.args, language_config.config.clone(), + language_config.roots.clone(), id, )?; self.incoming.push(UnboundedReceiverStream::new(incoming)); |