mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 19:15:37 +00:00
fix: cargo clippy for rust
This commit is contained in:
parent
d128511a21
commit
3fd95643b0
@ -43,8 +43,12 @@
|
|||||||
cmd = [ "${pkgs.terraform-ls}/bin/terraform-ls" "serve" ];
|
cmd = [ "${pkgs.terraform-ls}/bin/terraform-ls" "serve" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
use.lspconfig.rust_analyzer.setup =
|
use.lspconfig.rust_analyzer.setup = dsl.callWith {
|
||||||
dsl.callWith { cmd = [ "${pkgs.rust-analyzer}/bin/rust-analyzer" ]; };
|
cmd = [ "${pkgs.rust-analyzer}/bin/rust-analyzer" ];
|
||||||
|
settings = {
|
||||||
|
"['rust-analyzer']" = { check = { command = "clippy"; }; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
vim.api.nvim_create_augroup = dsl.callWith [ "LspFormatting" { } ];
|
vim.api.nvim_create_augroup = dsl.callWith [ "LspFormatting" { } ];
|
||||||
|
|
||||||
|
@ -6,9 +6,9 @@
|
|||||||
|
|
||||||
home-manager.users.${config.user} = {
|
home-manager.users.${config.user} = {
|
||||||
|
|
||||||
home.packages = with pkgs; [ cargo rustc gcc ];
|
programs.fish.shellAbbrs = { ca = "cargo"; };
|
||||||
|
|
||||||
programs.fish.shellAbbrs = { };
|
home.packages = with pkgs; [ cargo rustc clippy gcc ];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user