diff options
author | ath3 | 2022-10-03 15:02:49 +0000 |
---|---|---|
committer | GitHub | 2022-10-03 15:02:49 +0000 |
commit | 7c9809eeb2708a9eba3c3cc48c9513e9892409f0 (patch) | |
tree | f0e5cebc206845c83de11a002a40a74c5d383a10 /helix-view | |
parent | 66bbba90242e499d7178d4beae1054019067d1c9 (diff) |
Find workspace from document path (#3553)
Diffstat (limited to 'helix-view')
-rw-r--r-- | helix-view/src/editor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index f3b0e26f..e144a830 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -868,7 +868,7 @@ impl Editor { // try to find a language server based on the language name let language_server = doc.language.as_ref().and_then(|language| { - ls.get(language) + ls.get(language, doc.path()) .map_err(|e| { log::error!( "Failed to initialize the LSP for `{}` {{ {} }}", |