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 4, 2024
1 parent c7d4266 commit 1d471b7
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
35 changes: 35 additions & 0 deletions schemas/rust_analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -1402,6 +1402,41 @@
"markdownDescription": "Action to run when clicking the extension status bar item.",
"type": "string"
},
"rust-analyzer.statusBar.documentSelector": {
"default": [
{
"language": "rust"
},
{
"pattern": "**/Cargo.toml"
},
{
"pattern": "**/Cargo.lock"
}
],
"items": {
"properties": {
"language": {
"type": [
"string",
"null"
]
},
"pattern": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"markdownDescription": "Determines when to show the extension status bar item based on the currently open file. Use `{ \"pattern\": \"**\" }` to always show. Use `null` to never show.",
"type": [
"array",
"null"
]
},
"rust-analyzer.testExplorer": {
"default": false,
"markdownDescription": "Whether to show the test explorer.",
Expand Down
12 changes: 12 additions & 0 deletions types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14255,6 +14255,18 @@
-- default = "openLogs"
-- ```
---@field clickAction "stopServer" | "openLogs"
-- Determines when to show the extension status bar item based on the currently open file. Use `{ "pattern": "**" }` to always show. Use `null` to never show.
--
-- ```lua
-- default = { {
-- language = "rust"
-- }, {
-- pattern = "**/Cargo.toml"
-- }, {
-- pattern = "**/Cargo.lock"
-- } }
-- ```
---@field documentSelector object[]

---@class _.lspconfig.settings.rust_analyzer.Trace
-- Enable logging of VS Code extensions itself.
Expand Down

0 comments on commit 1d471b7

Please sign in to comment.