mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 09:55:37 +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