mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-04 00:55:21 +00:00
lsp: Use InitializeResult from lsp-types
Make the previous patch typesafe by enabling the "proposed" feature in the `lsp-types` crate, so that the `InitializeResult` has the `offsetEncoding` field. Fix the fallout of this change.
This commit is contained in:
parent
051cf83482
commit
ad33c257cf
3 changed files with 16 additions and 12 deletions
|
|
@ -114,6 +114,7 @@ pub fn server_capabilities() -> ServerCapabilities {
|
|||
trigger_characters: Some(vec![".".to_owned()]),
|
||||
work_done_progress_options: WorkDoneProgressOptions::default(),
|
||||
all_commit_characters: None,
|
||||
completion_item: None,
|
||||
}),
|
||||
definition_provider: Some(OneOf::Left(true)),
|
||||
text_document_sync: Some(TextDocumentSyncCapability::Kind(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue