Fixes #1609: Meta Model: LSPObject definition does not match the spec (#1145)

This commit is contained in:
Dirk Bäumer 2022-12-12 14:52:35 +01:00 коммит произвёл GitHub
Родитель 6b0da6b879
Коммит 9f2a58a25c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 31 добавлений и 11 удалений

Просмотреть файл

@ -9590,12 +9590,6 @@
"documentation": "An unchanged document diagnostic report for a workspace diagnostic result.\n\n@since 3.17.0",
"since": "3.17.0"
},
{
"name": "LSPObject",
"properties": [],
"documentation": "LSP object definition.\n@since 3.17.0",
"since": "3.17.0"
},
{
"name": "NotebookCell",
"properties": [
@ -14108,6 +14102,22 @@
"documentation": "A document filter describes a top level text document or\na notebook cell document.\n\n@since 3.17.0 - proposed support for NotebookCellTextDocumentFilter.",
"since": "3.17.0 - proposed support for NotebookCellTextDocumentFilter."
},
{
"name": "LSPObject",
"type": {
"kind": "map",
"key": {
"kind": "base",
"name": "string"
},
"value": {
"kind": "reference",
"name": "LSPAny"
}
},
"documentation": "LSP object definition.\n@since 3.17.0",
"since": "3.17.0"
},
{
"name": "GlobPattern",
"type": {

Просмотреть файл

@ -1262,11 +1262,21 @@ namespace PreDefined {
since: '3.17.0'
};
export const LSPObject: Structure = {
name: 'LSPObject',
properties: [],
documentation: 'LSP object definition.\n@since 3.17.0',
since: '3.17.0'
export const LSPObject: TypeAlias = {
'name': 'LSPObject',
'type': {
'kind': 'map',
'key': {
'kind': 'base',
'name': 'string'
},
'value': {
'kind': 'reference',
'name': 'LSPAny'
}
},
'documentation': 'LSP object definition.\n@since 3.17.0',
'since': '3.17.0'
};
export const LSPArray: TypeAlias = {