mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Fixed completion item object.
This commit is contained in:
@@ -821,6 +821,8 @@ void LSPClientServer::initialize() {
|
||||
{ "formats", { "relative" } },
|
||||
};
|
||||
|
||||
json completionItem{ { "snippetSupport", true } };
|
||||
|
||||
json capabilities{
|
||||
{ "textDocument",
|
||||
json{
|
||||
@@ -832,7 +834,7 @@ void LSPClientServer::initialize() {
|
||||
{ "synchronization", json{ { "didSave", true } } },
|
||||
{ "selectionRange", json{ { "dynamicRegistration", false } } },
|
||||
{ "hover", json{ { "contentFormat", { "plaintext", "markdown" } } } },
|
||||
{ "completion", json{ "completionItem", json{ { "snippetSupport", true } } } },
|
||||
{ "completion", completionItem },
|
||||
} },
|
||||
{ "window", json{ { "workDoneProgress", true } } },
|
||||
//{ "workspace", json{ { "workspaceFolders", true }, { "configuration", false } } },
|
||||
|
||||
Reference in New Issue
Block a user