mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 06:50:13 +00:00
fix: cargo clippy for rust
This commit is contained in:
@ -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