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 Jan 11, 2025
1 parent 623beb6 commit d18a453
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions schemas/rust_analyzer.json
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,11 @@
"markdownDescription": "Whether to show implicit drop hints.",
"type": "boolean"
},
"rust-analyzer.inlayHints.implicitSizedBoundHints.enable": {
"default": false,
"markdownDescription": "Whether to show inlay hints for the implied type parameter `Sized` bound.",
"type": "boolean"
},
"rust-analyzer.inlayHints.lifetimeElisionHints.enable": {
"default": "never",
"enum": [
Expand Down Expand Up @@ -1437,6 +1442,11 @@
"markdownDescription": "Whether to show error notifications for failing requests.",
"type": "boolean"
},
"rust-analyzer.showSyntaxTree": {
"default": true,
"markdownDescription": "Whether to show the syntax tree view.",
"type": "boolean"
},
"rust-analyzer.showUnlinkedFileNotification": {
"default": true,
"markdownDescription": "Whether to show a notification for unlinked files asking the user to add the corresponding Cargo.toml to the linked projects setting.",
Expand Down
11 changes: 11 additions & 0 deletions types/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13872,6 +13872,10 @@
-- Whether to show implicit drop hints.
---@field enable boolean

---@class _.lspconfig.settings.rust_analyzer.ImplicitSizedBoundHints
-- Whether to show inlay hints for the implied type parameter `Sized` bound.
---@field enable boolean

---@class _.lspconfig.settings.rust_analyzer.LifetimeElisionHints
-- Whether to show inlay type hints for elided lifetimes in function signatures.
--
Expand Down Expand Up @@ -13933,6 +13937,7 @@
---@field expressionAdjustmentHints _.lspconfig.settings.rust_analyzer.ExpressionAdjustmentHints
---@field genericParameterHints _.lspconfig.settings.rust_analyzer.GenericParameterHints
---@field implicitDrops _.lspconfig.settings.rust_analyzer.ImplicitDrops
---@field implicitSizedBoundHints _.lspconfig.settings.rust_analyzer.ImplicitSizedBoundHints
---@field lifetimeElisionHints _.lspconfig.settings.rust_analyzer.LifetimeElisionHints
-- Maximum length for inlay hints. Set to null to have an unlimited length.
--
Expand Down Expand Up @@ -14539,6 +14544,12 @@
-- default = true
-- ```
---@field showRequestFailedErrorNotification boolean
-- Whether to show the syntax tree view.
--
-- ```lua
-- default = true
-- ```
---@field showSyntaxTree boolean
-- Whether to show a notification for unlinked files asking the user to add the corresponding Cargo.toml to the linked projects setting.
--
-- ```lua
Expand Down

0 comments on commit d18a453

Please sign in to comment.