aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-09-07 07:42:33 +0000
committerBlaž Hrastnik2022-09-07 07:42:33 +0000
commita123fb60572720a5fd0817b194f4d34534f87b4e (patch)
treec5aef0de1f64bc399206e2a5ee0f2fdebd427b4d /helix-view/src
parentfe37a66046b16eaf7829606f7b90c18bd73fae3e (diff)
Remove LspNotDefined, instead return an Option<>
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/editor.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index b6947e44..5eff9983 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -853,6 +853,7 @@ impl Editor {
)
})
.ok()
+ .flatten()
});
if let Some(language_server) = language_server {
// only spawn a new lang server if the servers aren't the same