Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 24 additions & 3 deletions _specifications/lsp/3.18/metaModel/metaModel.json
Original file line number Diff line number Diff line change
Expand Up @@ -9159,10 +9159,20 @@
{
"name": "message",
"type": {
"kind": "base",
"name": "string"
"kind": "or",
"items": [
{
"kind": "base",
"name": "string"
},
{
"kind": "reference",
"name": "MarkupContent"
}
]
},
"documentation": "The diagnostic's message. It usually appears in the user interface"
"documentation": "The diagnostic's message. It usually appears in the user interface.\n\n@since 3.18.0 - support for MarkupContent. This is guarded by the client\ncapability `textDocument.diagnostic.markupMessageSupport`.",
"since": "3.18.0 - support for MarkupContent. This is guarded by the client\ncapability `textDocument.diagnostic.markupMessageSupport`."
},
{
"name": "tags",
Expand Down Expand Up @@ -13384,6 +13394,17 @@
},
"optional": true,
"documentation": "Whether the clients supports related documents for document diagnostic pulls."
},
{
"name": "markupMessageSupport",
"type": {
"kind": "base",
"name": "boolean"
},
"optional": true,
"documentation": "Whether the client supports `MarkupContent` in diagnostic messages.\n\n@since 3.18.0\n@proposed",
"since": "3.18.0",
"proposed": true
}
],
"extends": [
Expand Down
2 changes: 1 addition & 1 deletion _specifications/lsp/3.18/metaModel/metaModel.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"definitions": {
"AndType": {
"additionalProperties": false,
"description": "Represents an `and`type (e.g. TextDocumentParams & WorkDoneProgressParams`).",
"description": "Represents an `and` type (e.g. TextDocumentParams & WorkDoneProgressParams`).",
"properties": {
"items": {
"items": {
Expand Down