From d18a4535e0ae80c772e6f396aa02c7312a53fa38 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 11 Jan 2025 01:30:02 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc, schemas and annotations --- schemas/rust_analyzer.json | 10 ++++++++++ types/lsp.lua | 11 +++++++++++ 2 files changed, 21 insertions(+) diff --git a/schemas/rust_analyzer.json b/schemas/rust_analyzer.json index 64c95fd..60b8bbb 100644 --- a/schemas/rust_analyzer.json +++ b/schemas/rust_analyzer.json @@ -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": [ @@ -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.", diff --git a/types/lsp.lua b/types/lsp.lua index c042bb7..099aa5b 100644 --- a/types/lsp.lua +++ b/types/lsp.lua @@ -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. -- @@ -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. -- @@ -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