Unnamed repository; edit this file 'description' to name the repository.
Merge pull request #22649 from Ronron1024/patch-1
fix: configuration syntax for nvim-lsp
Shoyu Vanilla (Flint) 11 days ago
parent 3d2cdae · parent bc23e94 · commit 490c8f2
-rw-r--r--docs/book/src/other_editors.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/book/src/other_editors.md b/docs/book/src/other_editors.md
index 1cb2a44063..e8d41e8b73 100644
--- a/docs/book/src/other_editors.md
+++ b/docs/book/src/other_editors.md
@@ -146,7 +146,7 @@ still recommended to get the
for free.
1. Install [neovim/nvim-lspconfig](https://github.com/neovim/nvim-lspconfig)
-2. Add `lua vim.lsp.enable('rust-analyzer')` to your `init.vim`
+2. Add `lua vim.lsp.enable('rust_analyzer')` to your `init.vim`
3. Customize your setup.
```lua