diff options
| author | gyoder <70408179+gyoder@users.noreply.github.com> | 2025-12-28 15:38:19 -0700 |
|---|---|---|
| committer | gyoder <70408179+gyoder@users.noreply.github.com> | 2025-12-28 15:38:19 -0700 |
| commit | a01bb5c0ed3c1a05a00bab07558b20097293dda4 (patch) | |
| tree | bfb37ac1411a812affb8e1f625a1ac20e9712d01 /vim/.config/nvim/lsp/rust-analyzer.lua | |
| parent | 428c884e0d4472fbb8c369632770a3331a814023 (diff) | |
shrug, i forgor
Diffstat (limited to 'vim/.config/nvim/lsp/rust-analyzer.lua')
| -rw-r--r-- | vim/.config/nvim/lsp/rust-analyzer.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vim/.config/nvim/lsp/rust-analyzer.lua b/vim/.config/nvim/lsp/rust-analyzer.lua new file mode 100644 index 0000000..31c9b63 --- /dev/null +++ b/vim/.config/nvim/lsp/rust-analyzer.lua @@ -0,0 +1,15 @@ +return { + cmd = { "rust-analyzer" }, + filetypes = { "rust", "rs" }, + root_markers = { "Cargo.lock" }, + settings = { + ["rust-analyzer"] = { + check = { + command = "clippy", + }, + diagnostics = { + enable = true, + }, + }, + }, +} |
