aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2026-03-31 20:27:09 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2026-03-31 20:27:09 +0000
commit92c8e446830f157745b0bce1ecc2733464cdd0ac (patch)
tree6a179ba0200d9149531131df9383fd992acd01fb
parentci: disable gen-annotations in forks (diff)
downloadnvim-lspconfig-ci.tar
nvim-lspconfig-ci.tar.gz
nvim-lspconfig-ci.tar.bz2
nvim-lspconfig-ci.tar.lz
nvim-lspconfig-ci.tar.xz
nvim-lspconfig-ci.tar.zst
nvim-lspconfig-ci.zip
docs: update generated annotationsci
skip-checks: true
-rw-r--r--lua/lspconfig/types/lsp/rust_analyzer.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/lspconfig/types/lsp/rust_analyzer.lua b/lua/lspconfig/types/lsp/rust_analyzer.lua
index 5bb909e7..a1c69950 100644
--- a/lua/lspconfig/types/lsp/rust_analyzer.lua
+++ b/lua/lspconfig/types/lsp/rust_analyzer.lua
@@ -1017,6 +1017,12 @@
---@field hideInferredTypes? boolean
---Hide inlay type hints for constructors.
---@field hideNamedConstructor? boolean
+---Where to render type hints relative to their binding pattern.
+---
+---```lua
+---default = "inline"
+---```
+---@field location? "inline" | "end_of_line"
---@class _.lspconfig.settings.rust_analyzer.RustAnalyzer.InlayHints
---@field bindingModeHints? _.lspconfig.settings.rust_analyzer.RustAnalyzer.InlayHints.BindingModeHints
@@ -1723,6 +1729,10 @@
---@field completion? _.lspconfig.settings.rust_analyzer.RustAnalyzer.Completion
---@field debug? _.lspconfig.settings.rust_analyzer.RustAnalyzer.Debug
---@field diagnostics? _.lspconfig.settings.rust_analyzer.RustAnalyzer.Diagnostics
+---Disable support for `#[rust_analyzer::rust_fixture]` snippets.
+---
+---If you are not working on rust-analyzer itself, you should ignore this config.
+---@field disableFixtureSupport? boolean
---@field document? _.lspconfig.settings.rust_analyzer.RustAnalyzer.Document
---@field files? _.lspconfig.settings.rust_analyzer.RustAnalyzer.Files
---@field gotoImplementations? _.lspconfig.settings.rust_analyzer.RustAnalyzer.GotoImplementations