Skip to content
Snippets Groups Projects
Commit 100c45b2 authored by pigeonmoelleux's avatar pigeonmoelleux 💬 Committed by v-lafeychine
Browse files

Resolve "Unhandled LSP requests declared as capabilities in tilleul" ✨️

Closes #110 🐔️👍️
Approved-by: default avatarloutr <l.ta-ma@proton.me>
Approved-by: default avatarv-lafeychine <vincent.lafeychine@proton.me>

🦀️🍰🦀️🍰🦀️🍰

* fix(tilleul): change tilleul initialization to indicate that no capability is currentlly handled
parent 978c63c8
No related branches found
No related tags found
1 merge request!103Resolve "Unhandled LSP requests declared as capabilities in tilleul"
Pipeline #13322 passed with stages
in 13 minutes and 49 seconds
......@@ -13,11 +13,7 @@ use crate::lsp::{connection, LanguageServer};
impl<C: connection::LanguageServer> LanguageServer for Tilleul<'_, '_, C> {
fn initialize(&mut self, _: InitializeParams) -> InitializeResult {
InitializeResult {
capabilities: ServerCapabilities {
definition_provider: Some(OneOf::Left(true)),
text_document_sync: Some(TextDocumentSyncCapability::Kind(TextDocumentSyncKind::FULL)),
..ServerCapabilities::default()
},
capabilities: ServerCapabilities::default(),
server_info: Some(ServerInfo {
name: crate::NAME.to_owned(),
version: Some(crate::VERSION.to_owned()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment