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 Dec 5, 2024
1 parent 1d471b7 commit d5ca361
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 10 deletions.
5 changes: 5 additions & 0 deletions schemas/als.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@
"scope": "window",
"type": "object"
},
"ada.showNotificationsOnErrors": {
"default": false,
"markdownDescription": "Whether to show error notifications for failing LSP requests.",
"type": "boolean"
},
"ada.trace.server": {
"default": "off",
"description": "Traces the communication between VS Code and the Ada language server in the 'Ada Language Server' Output view.",
Expand Down
5 changes: 5 additions & 0 deletions schemas/omnisharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,11 @@
"description": "%configuration.omnisharp.csharp.suppressProjectJsonWarning%",
"type": "boolean"
},
"dotnet.autoInsert.enableAutoInsert": {
"default": true,
"description": "%configuration.dotnet.autoInsert.enableAutoInsert%",
"type": "boolean"
},
"dotnet.backgroundAnalysis.analyzerDiagnosticsScope": {
"default": "openFiles",
"description": "%configuration.dotnet.backgroundAnalysis.analyzerDiagnosticsScope%",
Expand Down
13 changes: 8 additions & 5 deletions schemas/rust_analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -1464,16 +1464,19 @@
"scope": "window",
"type": "string"
},
"rust-analyzer.typing.autoClosingAngleBrackets.enable": {
"default": false,
"markdownDescription": "Whether to insert closing angle brackets when typing an opening angle bracket of a generic argument list.",
"type": "boolean"
},
"rust-analyzer.typing.continueCommentsOnNewline": {
"default": true,
"markdownDescription": "Whether to prefix newlines after comments with the corresponding comment prefix.",
"type": "boolean"
},
"rust-analyzer.typing.excludeChars": {
"default": null,
"markdownDescription": "Specify the characters to exclude from triggering typing assists. The default trigger characters are `.`, `=`, `<`, `>`, `{`, and `(`. Setting this to a string will disable typing assists for the specified characters.",
"type": [
"null",
"string"
]
},
"rust-analyzer.workspace.discoverConfig": {
"anyOf": [
{
Expand Down
18 changes: 13 additions & 5 deletions types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@
-- default = {}
-- ```
---@field scenarioVariables table
-- Whether to show error notifications for failing LSP requests.
---@field showNotificationsOnErrors boolean
---@field trace _.lspconfig.settings.als.Trace
-- Enable snippets in completion results (e.g. subprogram calls).
---@field useCompletionSnippets boolean
Expand Down Expand Up @@ -9871,6 +9873,14 @@
-- %configuration.omnisharp.csharp.suppressProjectJsonWarning%
---@field suppressProjectJsonWarning boolean

---@class _.lspconfig.settings.omnisharp.AutoInsert
-- %configuration.dotnet.autoInsert.enableAutoInsert%
--
-- ```lua
-- default = true
-- ```
---@field enableAutoInsert boolean

---@class _.lspconfig.settings.omnisharp.BackgroundAnalysis
-- %configuration.dotnet.backgroundAnalysis.analyzerDiagnosticsScope%
--
Expand Down Expand Up @@ -10272,6 +10282,7 @@
---@field runSettingsPath string

---@class _.lspconfig.settings.omnisharp.Dotnet
---@field autoInsert _.lspconfig.settings.omnisharp.AutoInsert
---@field backgroundAnalysis _.lspconfig.settings.omnisharp.BackgroundAnalysis
---@field codeLens _.lspconfig.settings.omnisharp.CodeLens
---@field completion _.lspconfig.settings.omnisharp.Completion
Expand Down Expand Up @@ -14278,18 +14289,15 @@
-- ```
---@field server "off" | "messages" | "verbose"

---@class _.lspconfig.settings.rust_analyzer.AutoClosingAngleBrackets
-- Whether to insert closing angle brackets when typing an opening angle bracket of a generic argument list.
---@field enable boolean

---@class _.lspconfig.settings.rust_analyzer.Typing
---@field autoClosingAngleBrackets _.lspconfig.settings.rust_analyzer.AutoClosingAngleBrackets
-- Whether to prefix newlines after comments with the corresponding comment prefix.
--
-- ```lua
-- default = true
-- ```
---@field continueCommentsOnNewline boolean
-- Specify the characters to exclude from triggering typing assists. The default trigger characters are `.`, `=`, `<`, `>`, `{`, and `(`. Setting this to a string will disable typing assists for the specified characters.
---@field excludeChars string

---@class _.lspconfig.settings.rust_analyzer.Search
-- Workspace symbol search kind.
Expand Down

0 comments on commit d5ca361

Please sign in to comment.