Commit 77ceb2c5 authored by Daniel Espinosa Ortiz's avatar Daniel Espinosa Ortiz

ServerCapabilities: report itself as definition provider

parent 150bc11e
Pipeline #135217 passed with stages
in 9 minutes and 54 seconds
......@@ -37,13 +37,12 @@ public class GVlsp.ServerStream : Jsonrpc.Server, GVls.Server, GVlsp.ServerJsonr
_capabilities.text_document_sync.open_close = true;
_capabilities.text_document_sync.change = (int) TextDocumentSyncKind.INCREMENTAL;
_capabilities.completion_provider.resolve_provider = true;
_capabilities.completion_provider.resolve_provider = true;
var str = new StringObject ();
str.val = ".";
_capabilities.completion_provider.trigger_characters.add (str);
str.val = "(";
_capabilities.signature_help_provider.trigger_characters.add (str);
_capabilities.definition_provider = false; // FIXME:
_capabilities.definition_provider = true;
_capabilities.type_definition_provider.boolean.val = false; // FIXME:
_capabilities.implementation_provider.boolean.val = false; // FIXME:
_capabilities.references_provider = false; // FIXME:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment