mirror of
https://github.com/gyoder/dots.git
synced 2026-02-27 17:03:45 +00:00
shrug, i forgor
This commit is contained in:
parent
428c884e0d
commit
a01bb5c0ed
19 changed files with 538 additions and 68 deletions
15
vim/.config/nvim/lsp/rust-analyzer.lua
Normal file
15
vim/.config/nvim/lsp/rust-analyzer.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
cmd = { "rust-analyzer" },
|
||||
filetypes = { "rust", "rs" },
|
||||
root_markers = { "Cargo.lock" },
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
check = {
|
||||
command = "clippy",
|
||||
},
|
||||
diagnostics = {
|
||||
enable = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue