improve rust programming with rust-analyzer lsp and gcc

This commit is contained in:
Noah Masur 2023-11-04 13:49:23 -04:00
parent f828c1c200
commit 5709afd835
2 changed files with 4 additions and 1 deletions

View File

@ -43,6 +43,9 @@
cmd = [ "${pkgs.terraform-ls}/bin/terraform-ls" "serve" ];
};
use.lspconfig.rust_analyzer.setup =
dsl.callWith { cmd = [ "${pkgs.rust-analyzer}/bin/rust-analyzer" ]; };
vim.api.nvim_create_augroup = dsl.callWith [ "LspFormatting" { } ];
lua = ''

View File

@ -6,7 +6,7 @@
home-manager.users.${config.user} = {
home.packages = with pkgs; [ cargo rustc ];
home.packages = with pkgs; [ cargo rustc gcc ];
programs.fish.shellAbbrs = { };