Skip to content

Commit

Permalink
chore(build): auto-generate vimdoc, schemas and annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 22, 2024
1 parent e0a331f commit 4aa5753
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 35 deletions.
31 changes: 13 additions & 18 deletions schemas/vtsls.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@
},
"javascript.implicitProjectConfig.checkJs": {
"default": false,
"markdownDeprecationMessage": "%configuration.javascript.checkJs.checkJs.deprecation%",
"markdownDeprecationMessage": "This setting has been deprecated in favor of `js/ts.implicitProjectConfig.checkJs`.",
"markdownDescription": "Enable/disable semantic checking of JavaScript files. Existing `jsconfig.json` or `tsconfig.json` files override this setting.",
"type": "boolean"
},
"javascript.implicitProjectConfig.experimentalDecorators": {
"default": false,
"markdownDeprecationMessage": "%configuration.javascript.checkJs.experimentalDecorators.deprecation%",
"markdownDeprecationMessage": "This setting has been deprecated in favor of `js/ts.implicitProjectConfig.experimentalDecorators`.",
"markdownDescription": "Enable/disable `experimentalDecorators` in JavaScript files that are not part of a project. Existing `jsconfig.json` or `tsconfig.json` files override this setting.",
"type": "boolean"
},
Expand Down Expand Up @@ -231,7 +231,7 @@
null,
null,
null,
"%typescript.preferences.importModuleSpecifierEnding.label.js%"
".js / .ts"
],
"markdownEnumDescriptions": [
"Use project settings to select a default.",
Expand Down Expand Up @@ -278,7 +278,7 @@
},
"javascript.preferences.renameShorthandProperties": {
"default": true,
"deprecationMessage": "%typescript.preferences.renameShorthandProperties.deprecationMessage%",
"deprecationMessage": "The setting 'typescript.preferences.renameShorthandProperties' has been deprecated in favor of 'typescript.preferences.useAliasesForRenames'",
"description": "Enable/disable introducing aliases for object shorthand properties during renames.",
"type": "boolean"
},
Expand Down Expand Up @@ -440,11 +440,6 @@
"markdownDescription": "Disables [automatic type acquisition](https://code.visualstudio.com/docs/nodejs/working-with-javascript#_typings-and-automatic-type-acquisition). Automatic type acquisition fetches `@types` packages from npm to improve IntelliSense for external libraries.",
"type": "boolean"
},
"typescript.experimental.tsserver.web.typeAcquisition.enabled": {
"default": false,
"description": "Enable/disable package acquisition on the web.",
"type": "boolean"
},
"typescript.format.enable": {
"default": true,
"description": "Enable/disable default TypeScript formatter.",
Expand Down Expand Up @@ -717,7 +712,7 @@
null,
null,
null,
"%typescript.preferences.importModuleSpecifierEnding.label.js%"
".js / .ts"
],
"markdownEnumDescriptions": [
"Use project settings to select a default.",
Expand Down Expand Up @@ -784,7 +779,7 @@
},
"typescript.preferences.renameShorthandProperties": {
"default": true,
"deprecationMessage": "%typescript.preferences.renameShorthandProperties.deprecationMessage%",
"deprecationMessage": "The setting 'typescript.preferences.renameShorthandProperties' has been deprecated in favor of 'typescript.preferences.useAliasesForRenames'",
"description": "Enable/disable introducing aliases for object shorthand properties during renames.",
"type": "boolean"
},
Expand Down Expand Up @@ -877,11 +872,6 @@
"description": "(Experimental) Enables project wide error reporting.",
"type": "boolean"
},
"typescript.tsserver.experimental.useVsCodeWatcher": {
"default": false,
"description": "Use VS Code's file watchers instead of TypeScript's. Requires using TypeScript 5.4+ in the workspace.",
"type": "boolean"
},
"typescript.tsserver.log": {
"default": "off",
"description": "Enables logging of the TS server to a file. This log can be used to diagnose TS Server issues. The log may contain file paths, source code, and other potentially sensitive information from your project.",
Expand Down Expand Up @@ -914,7 +904,7 @@
"typescript.tsserver.useSeparateSyntaxServer": {
"default": true,
"description": "Enable/disable spawning a separate TypeScript server that can more quickly respond to syntax related operations, such as calculating folding or computing document symbols.",
"markdownDeprecationMessage": "%configuration.tsserver.useSeparateSyntaxServer.deprecation%",
"markdownDeprecationMessage": "This setting has been deprecated in favor of `typescript.tsserver.useSyntaxServer`.",
"type": "boolean"
},
"typescript.tsserver.useSyntaxServer": {
Expand Down Expand Up @@ -1001,7 +991,12 @@
},
"typescript.tsserver.web.projectWideIntellisense.suppressSemanticErrors": {
"default": true,
"description": "Suppresses semantic errors. This is needed when using external packages as these can't be included analyzed on web.",
"description": "Suppresses semantic errors on web even when project wide IntelliSense is enabled. This is always on when project wide IntelliSense is not enabled or available. See `#typescript.tsserver.web.projectWideIntellisense.enabled#`",
"type": "boolean"
},
"typescript.tsserver.web.typeAcquisition.enabled": {
"default": false,
"description": "Enable/disable package acquisition on the web. This enables IntelliSense for imported packages. Requires `#typescript.tsserver.web.projectWideIntellisense.enabled#`. Currently not supported for Safari.",
"type": "boolean"
},
"typescript.updateImportsOnFileMove.enabled": {
Expand Down
23 changes: 6 additions & 17 deletions types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11042,19 +11042,6 @@
-- ```
---@field npmIsInstalled boolean

---@class _.lspconfig.settings.vtsls.TypeAcquisition
-- Enable/disable package acquisition on the web.
---@field enabled boolean

---@class _.lspconfig.settings.vtsls.Web
---@field typeAcquisition _.lspconfig.settings.vtsls.TypeAcquisition

---@class _.lspconfig.settings.vtsls.Tsserver
---@field web _.lspconfig.settings.vtsls.Web

---@class _.lspconfig.settings.vtsls.Experimental
---@field tsserver _.lspconfig.settings.vtsls.Tsserver

---@class _.lspconfig.settings.vtsls.Format
-- Enable/disable default TypeScript formatter.
--
Expand Down Expand Up @@ -11364,8 +11351,6 @@
---@class _.lspconfig.settings.vtsls.Experimental
-- (Experimental) Enables project wide error reporting.
---@field enableProjectDiagnostics boolean
-- Use VS Code's file watchers instead of TypeScript's. Requires using TypeScript 5.4+ in the workspace.
---@field useVsCodeWatcher boolean

-- Configure which watching strategies should be used to keep track of files and directories.
---@class _.lspconfig.settings.vtsls.WatchOptions
Expand Down Expand Up @@ -11393,15 +11378,20 @@
-- default = true
-- ```
---@field enabled boolean
-- Suppresses semantic errors. This is needed when using external packages as these can't be included analyzed on web.
-- Suppresses semantic errors on web even when project wide IntelliSense is enabled. This is always on when project wide IntelliSense is not enabled or available. See `#typescript.tsserver.web.projectWideIntellisense.enabled#`
--
-- ```lua
-- default = true
-- ```
---@field suppressSemanticErrors boolean

---@class _.lspconfig.settings.vtsls.TypeAcquisition
-- Enable/disable package acquisition on the web. This enables IntelliSense for imported packages. Requires `#typescript.tsserver.web.projectWideIntellisense.enabled#`. Currently not supported for Safari.
---@field enabled boolean

---@class _.lspconfig.settings.vtsls.Web
---@field projectWideIntellisense _.lspconfig.settings.vtsls.ProjectWideIntellisense
---@field typeAcquisition _.lspconfig.settings.vtsls.TypeAcquisition

---@class _.lspconfig.settings.vtsls.Tsserver
-- Enables tracing TS server performance to a directory. These trace files can be used to diagnose TS Server performance issues. The log may contain file paths, source code, and other potentially sensitive information from your project.
Expand Down Expand Up @@ -11477,7 +11467,6 @@
---@field check _.lspconfig.settings.vtsls.Check
-- Disables [automatic type acquisition](https://code.visualstudio.com/docs/nodejs/working-with-javascript#_typings-and-automatic-type-acquisition). Automatic type acquisition fetches `@types` packages from npm to improve IntelliSense for external libraries.
---@field disableAutomaticTypeAcquisition boolean
---@field experimental _.lspconfig.settings.vtsls.Experimental
---@field format _.lspconfig.settings.vtsls.Format
---@field implementationsCodeLens _.lspconfig.settings.vtsls.ImplementationsCodeLens
---@field inlayHints _.lspconfig.settings.vtsls.InlayHints
Expand Down

0 comments on commit 4aa5753

Please sign in to comment.