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 Nov 27, 2024
1 parent 201f493 commit fbe7176
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
10 changes: 5 additions & 5 deletions schemas/omnisharp.json
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,6 @@
"order": 0,
"type": "string"
},
"dotnet.dotnetPath": {
"description": "%configuration.dotnet.dotnetPath%",
"scope": "machine-overridable",
"type": "string"
},
"dotnet.enableXamlTools": {
"default": true,
"description": "%configuration.dotnet.enableXamlTools%",
Expand Down Expand Up @@ -832,6 +827,11 @@
"type": "array",
"uniqueItems": true
},
"omnisharp.dotnetPath": {
"description": "%configuration.omnisharp.dotnetPath%",
"scope": "machine-overridable",
"type": "string"
},
"omnisharp.enableAsyncCompletion": {
"default": false,
"description": "%configuration.omnisharp.enableAsyncCompletion%",
Expand Down
13 changes: 13 additions & 0 deletions schemas/rust_analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,19 @@
"string"
]
},
"rust-analyzer.cargo.sysrootQueryMetadata": {
"default": "cargo_metadata",
"enum": [
"none",
"cargo_metadata"
],
"enumDescriptions": [
"Do not query sysroot metadata, always use stitched sysroot.",
"Use `cargo metadata` to query sysroot metadata."
],
"markdownDescription": "How to query metadata for the sysroot crate. Using cargo metadata allows rust-analyzer\nto analyze third-party dependencies of the standard libraries.",
"type": "string"
},
"rust-analyzer.cargo.sysrootSrc": {
"default": null,
"markdownDescription": "Relative path to the sysroot library sources. If left unset, this will default to\n`{cargo.sysroot}/lib/rustlib/src/rust/library`.\n\nThis option does not take effect until rust-analyzer is restarted.",
Expand Down
11 changes: 9 additions & 2 deletions types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10277,8 +10277,6 @@
---@field completion _.lspconfig.settings.omnisharp.Completion
-- %configuration.dotnet.defaultSolution.description%
---@field defaultSolution string
-- %configuration.dotnet.dotnetPath%
---@field dotnetPath string
-- %configuration.dotnet.enableXamlTools%
--
-- ```lua
Expand Down Expand Up @@ -10314,6 +10312,8 @@
---@field disableMSBuildDiagnosticWarning boolean
-- %configuration.omnisharp.dotNetCliPaths%
---@field dotNetCliPaths string[]
-- %configuration.omnisharp.dotnetPath%
---@field dotnetPath string
-- %configuration.omnisharp.enableAsyncCompletion%
---@field enableAsyncCompletion boolean
-- %configuration.omnisharp.enableDecompilationSupport%
Expand Down Expand Up @@ -13196,6 +13196,13 @@
-- default = "discover"
-- ```
---@field sysroot string
-- How to query metadata for the sysroot crate. Using cargo metadata allows rust-analyzer
-- to analyze third-party dependencies of the standard libraries.
--
-- ```lua
-- default = "cargo_metadata"
-- ```
---@field sysrootQueryMetadata "none" | "cargo_metadata"
-- Relative path to the sysroot library sources. If left unset, this will default to
-- `{cargo.sysroot}/lib/rustlib/src/rust/library`.
--
Expand Down

0 comments on commit fbe7176

Please sign in to comment.