mirror of
https://github.com/nmasur/dotfiles
synced 2026-11-08 09:55:02 +00:00
fix: cargo clippy for rust
This commit is contained in:
1 parent
d128511a21
commit
3fd95643b0
2 files changed
+8
-4
No files matched your search
@@ -43,8 +43,12 @@
|
||||
cmd = [ "${pkgs.terraform-ls}/bin/terraform-ls" "serve" ];
|
||||
};
|
||||
|
||||
use.lspconfig.rust_analyzer.setup =
|
||||
dsl.callWith { cmd = [ "${pkgs.rust-analyzer}/bin/rust-analyzer" ]; };
|
||||
use.lspconfig.rust_analyzer.setup = dsl.callWith {
|
||||
cmd = [ "${pkgs.rust-analyzer}/bin/rust-analyzer" ];
|
||||
settings = {
|
||||
"['rust-analyzer']" = { check = { command = "clippy"; }; };
|
||||
};
|
||||
};
|
||||
|
||||
vim.api.nvim_create_augroup = dsl.callWith [ "LspFormatting" { } ];
|
||||
|
||||
|
||||
Reference in new issue
Block a user