From 437d35ad408391f3a3a5294a05c9419011483bb6 Mon Sep 17 00:00:00 2001 From: Maria Solano Date: Sat, 28 Feb 2026 11:53:52 -0800 Subject: [PATCH] Update metamodel --- protocol/metaModel.json | 42 +++++++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/protocol/metaModel.json b/protocol/metaModel.json index d5f1dca2a..000d2f1ec 100644 --- a/protocol/metaModel.json +++ b/protocol/metaModel.json @@ -159,11 +159,20 @@ "method": "textDocument/documentColor", "typeName": "DocumentColorRequest", "result": { - "kind": "array", - "element": { - "kind": "reference", - "name": "ColorInformation" - } + "kind": "or", + "items": [ + { + "kind": "array", + "element": { + "kind": "reference", + "name": "ColorInformation" + } + }, + { + "kind": "base", + "name": "null" + } + ] }, "messageDirection": "clientToServer", "clientCapability": "textDocument.colorProvider", @@ -189,11 +198,20 @@ "method": "textDocument/colorPresentation", "typeName": "ColorPresentationRequest", "result": { - "kind": "array", - "element": { - "kind": "reference", - "name": "ColorPresentation" - } + "kind": "or", + "items": [ + { + "kind": "array", + "element": { + "kind": "reference", + "name": "ColorPresentation" + } + }, + { + "kind": "base", + "name": "null" + } + ] }, "messageDirection": "clientToServer", "clientCapability": "textDocument.colorProvider", @@ -438,6 +456,8 @@ ] }, "messageDirection": "clientToServer", + "clientCapability": "textDocument.callHierarchy", + "serverCapability": "callHierarchyProvider", "params": { "kind": "reference", "name": "CallHierarchyIncomingCallsParams" @@ -472,6 +492,8 @@ ] }, "messageDirection": "clientToServer", + "clientCapability": "textDocument.callHierarchy", + "serverCapability": "callHierarchyProvider", "params": { "kind": "reference", "name": "CallHierarchyOutgoingCallsParams"