Skip to content

Commit e8068a5

Browse files
chore(build): auto-generate vimdoc, schemas and annotations
1 parent 9b88880 commit e8068a5

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

schemas/ts_ls.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@
518518
"javascript.validate.enable": {
519519
"default": true,
520520
"description": "Enable/disable JavaScript validation.",
521+
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.validate.enabled#` instead.",
521522
"scope": "window",
522523
"type": "boolean"
523524
},
@@ -1198,6 +1199,15 @@
11981199
],
11991200
"type": "boolean"
12001201
},
1202+
"js/ts.reportStyleChecksAsWarnings": {
1203+
"default": true,
1204+
"description": "Report style checks as warnings.",
1205+
"scope": "window",
1206+
"tags": [
1207+
"TypeScript"
1208+
],
1209+
"type": "boolean"
1210+
},
12011211
"js/ts.suggest.autoImports": {
12021212
"default": true,
12031213
"description": "Enable/disable auto import suggestions.",
@@ -1346,6 +1356,16 @@
13461356
],
13471357
"type": "boolean"
13481358
},
1359+
"js/ts.validate.enabled": {
1360+
"default": true,
1361+
"description": "Enable/disable JavaScript and TypeScript validation.",
1362+
"scope": "language-overridable",
1363+
"tags": [
1364+
"JavaScript",
1365+
"TypeScript"
1366+
],
1367+
"type": "boolean"
1368+
},
13491369
"js/ts.workspaceSymbols.excludeLibrarySymbols": {
13501370
"default": true,
13511371
"markdownDescription": "Exclude symbols that come from library files in `Go to Symbol in Workspace` results. Requires using TypeScript 5.3+ in the workspace.",
@@ -1915,6 +1935,7 @@
19151935
"typescript.reportStyleChecksAsWarnings": {
19161936
"default": true,
19171937
"description": "Report style checks as warnings.",
1938+
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.reportStyleChecksAsWarnings#` instead.",
19181939
"scope": "window",
19191940
"type": "boolean"
19201941
},
@@ -2203,6 +2224,7 @@
22032224
"typescript.validate.enable": {
22042225
"default": true,
22052226
"description": "Enable/disable TypeScript validation.",
2227+
"markdownDeprecationMessage": "This setting is deprecated. Use `#js/ts.validate.enabled#` instead.",
22062228
"scope": "window",
22072229
"type": "boolean"
22082230
},

types/lsp.lua

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18197,6 +18197,14 @@
1819718197
-- ```
1819818198
---@field enabled boolean
1819918199

18200+
---@class _.lspconfig.settings.ts_ls.Validate
18201+
-- Enable/disable JavaScript and TypeScript validation.
18202+
--
18203+
-- ```lua
18204+
-- default = true
18205+
-- ```
18206+
---@field enabled boolean
18207+
1820018208
---@class _.lspconfig.settings.ts_ls.WorkspaceSymbols
1820118209
-- Exclude symbols that come from library files in `Go to Symbol in Workspace` results. Requires using TypeScript 5.3+ in the workspace.
1820218210
--
@@ -18222,10 +18230,17 @@
1822218230
---@field preferGoToSourceDefinition boolean
1822318231
---@field preferences _.lspconfig.settings.ts_ls.Preferences
1822418232
---@field referencesCodeLens _.lspconfig.settings.ts_ls.ReferencesCodeLens
18233+
-- Report style checks as warnings.
18234+
--
18235+
-- ```lua
18236+
-- default = true
18237+
-- ```
18238+
---@field reportStyleChecksAsWarnings boolean
1822518239
---@field suggest _.lspconfig.settings.ts_ls.Suggest
1822618240
---@field suggestionActions _.lspconfig.settings.ts_ls.SuggestionActions
1822718241
---@field updateImportsOnFileMove _.lspconfig.settings.ts_ls.UpdateImportsOnFileMove
1822818242
---@field updateImportsOnPaste _.lspconfig.settings.ts_ls.UpdateImportsOnPaste
18243+
---@field validate _.lspconfig.settings.ts_ls.Validate
1822918244
---@field workspaceSymbols _.lspconfig.settings.ts_ls.WorkspaceSymbols
1823018245

1823118246
---@class _.lspconfig.settings.ts_ls.Check

0 commit comments

Comments
 (0)