Add helix lsp

This commit is contained in:
muon 2024-09-03 14:40:28 +00:00
parent 3867429e17
commit 48c12d0fea

View file

@ -3,7 +3,14 @@
lib.mkEnableOption "enables cli editor";
config = lib.mkIf config.mods.terminal.development.enable {
# home.packages = with pkgs; [];
home.packages = with pkgs; [
# Nix
nil
# Rust
rust-analyzer
lldb_18
];
programs.direnv = {
enable = true;
@ -34,6 +41,19 @@
};
};
};
languages.language = [
{
name = "nix";
auto-format = true;
formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
}
{
name = "rust";
auto-format = true;
formatter.command = "rustfmt";
}
];
};
};
}