[2025-05-08] Add rust_analyzer and some new plugins to nvim config
This commit is contained in:
parent
728a618190
commit
a666debfcf
7 changed files with 31 additions and 1 deletions
8
nvim/lua/plugins/rust_analyzer.lua
Normal file
8
nvim/lua/plugins/rust_analyzer.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
vim.lsp.config.rust_analyzer =
|
||||
{
|
||||
cmd = { "rust-analyzer" },
|
||||
root_markers = { 'Cargo.toml' },
|
||||
filetypes = { 'rust' },
|
||||
}
|
||||
|
||||
vim.lsp.enable({'rust_analyzer'})
|
Loading…
Add table
Add a link
Reference in a new issue