diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-07-01 17:07:18 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-07-01 17:07:19 +0000 |
| commit | 292f44408498103c47996ff5c18fd366293840d8 (patch) | |
| tree | 94f6a5d0499f70ec2048f92e86203dc0c4162bf5 /lua | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-master.tar nvim-lspconfig-master.tar.gz nvim-lspconfig-master.tar.bz2 nvim-lspconfig-master.tar.lz nvim-lspconfig-master.tar.xz nvim-lspconfig-master.tar.zst nvim-lspconfig-master.zip | |
skip-checks: true
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/types/lsp/rust_analyzer.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/lspconfig/types/lsp/rust_analyzer.lua b/lua/lspconfig/types/lsp/rust_analyzer.lua index a5d74599..e5b6440e 100644 --- a/lua/lspconfig/types/lsp/rust_analyzer.lua +++ b/lua/lspconfig/types/lsp/rust_analyzer.lua @@ -122,6 +122,10 @@ ---default = { "debug_assertions", "miri" } ---``` ---@field cfgs? string[] +---Path to a `.cargo/config.toml` style file to pass to cargo via `--config` +---for every cargo invocation (metadata, build scripts, config discovery). +---Useful to give rust-analyzer a consistent view of the project configuration. +---@field configPath? string ---Extra arguments that are passed to every cargo invocation. --- ---```lua |
