aboutsummaryrefslogtreecommitdiffstats
path: root/doc/configs.md
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-11-22 07:18:44 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-11-22 07:18:44 +0000
commita2a277114dbb93e98f04b5087a9b832918b7da15 (patch)
tree782b3efd6c624960f1bfe2329a551f5e296d54eb /doc/configs.md
parentfeat(rust_analyzer): enable codelens (#4210) (diff)
downloadnvim-lspconfig-a2a277114dbb93e98f04b5087a9b832918b7da15.tar
nvim-lspconfig-a2a277114dbb93e98f04b5087a9b832918b7da15.tar.gz
nvim-lspconfig-a2a277114dbb93e98f04b5087a9b832918b7da15.tar.bz2
nvim-lspconfig-a2a277114dbb93e98f04b5087a9b832918b7da15.tar.lz
nvim-lspconfig-a2a277114dbb93e98f04b5087a9b832918b7da15.tar.xz
nvim-lspconfig-a2a277114dbb93e98f04b5087a9b832918b7da15.tar.zst
nvim-lspconfig-a2a277114dbb93e98f04b5087a9b832918b7da15.zip
docs: update configs.md
skip-checks: true
Diffstat (limited to 'doc/configs.md')
-rw-r--r--doc/configs.md48
1 files changed, 42 insertions, 6 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 6b6de76b..ae041609 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -2403,11 +2403,11 @@ Default config:
{
editorInfo = {
name = "Neovim",
- version = "0.12.0-dev+g7be031f397"
+ version = "0.12.0-dev+g1c12073db6"
},
editorPluginInfo = {
name = "Neovim",
- version = "0.12.0-dev+g7be031f397"
+ version = "0.12.0-dev+g1c12073db6"
}
}
```
@@ -4846,20 +4846,20 @@ Default config:
{
editorInfo = {
name = "Neovim",
- version = "0.12.0-dev+g7be031f397"
+ version = "0.12.0-dev+g1c12073db6"
},
editorPluginInfo = {
name = "Neovim LSP",
- version = "0.12.0-dev+g7be031f397"
+ version = "0.12.0-dev+g1c12073db6"
},
extension = {
name = "Neovim LSP Client",
- version = "0.12.0-dev+g7be031f397"
+ version = "0.12.0-dev+g1c12073db6"
},
ide = {
name = "Neovim",
vendor = "Neovim",
- version = "0.12.0-dev+g7be031f397"
+ version = "0.12.0-dev+g1c12073db6"
}
}
```
@@ -10324,6 +10324,42 @@ Default config:
```
- `on_attach`: [../lsp/rust_analyzer.lua:56](../lsp/rust_analyzer.lua#L56)
- `root_dir`: [../lsp/rust_analyzer.lua:56](../lsp/rust_analyzer.lua#L56)
+- `settings` :
+ ```lua
+ {
+ ["rust-analyzer"] = {
+ lens = {
+ debug = {
+ enable = true
+ },
+ enable = true,
+ implementations = {
+ enable = true
+ },
+ references = {
+ adt = {
+ enable = true
+ },
+ enumVariant = {
+ enable = true
+ },
+ method = {
+ enable = true
+ },
+ trait = {
+ enable = true
+ }
+ },
+ run = {
+ enable = true
+ },
+ updateTest = {
+ enable = true
+ }
+ }
+ }
+ }
+ ```
---