diff options
Diffstat (limited to 'doc/server_configurations.md')
| -rw-r--r-- | doc/server_configurations.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 12bd3b96..0b2af021 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -10180,6 +10180,9 @@ require'lspconfig'.rust_analyzer.setup{ } } ``` + +Note: do not set `init_options` for this LS config, it will be automatically populated by the contents of settings["rust-analyzer"] per +https://github.com/rust-lang/rust-analyzer/blob/eb5da56d839ae0a9e9f50774fa3eb78eb0964550/docs/dev/lsp-extensions.md?plain=1#L26. @@ -10191,6 +10194,10 @@ require'lspconfig'.rust_analyzer.setup{} - CargoReload: Reload current cargo workspace **Default values:** + - `before_init` : + ```lua + see source file + ``` - `capabilities` : ```lua { |
