mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
improve rust programming with rust-analyzer lsp and gcc
This commit is contained in:
parent
f828c1c200
commit
5709afd835
@ -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 = ''
|
||||
|
@ -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 = { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user