feat: add LSPs

This commit is contained in:
notohh 2023-01-31 05:56:49 -05:00
parent e2b723aaf5
commit 9b5cb058c4
Signed by: notohh
GPG key ID: BD47506D475EE86D
3 changed files with 47 additions and 7 deletions

View file

@ -1,7 +1,6 @@
{config, pkgs, inputs, ...}: { {pkgs, inputs, ...}: {
programs.helix = { programs.helix = {
enable = true; enable = true;
# langauges = import ./languages.nix args;
settings = { settings = {
theme = "catppuccin_mocha"; theme = "catppuccin_mocha";
editor = { editor = {
@ -16,8 +15,39 @@
indent-guides = { indent-guides = {
render = true; render = true;
rainbow = "dim"; rainbow = "dim";
languages = [
{
name = "nix";
auto-format = true;
}
{
name = "rust";
}
{
name = "go";
}
{
name = "lua";
}
{
name = "python";
}
{
name = "markdown";
}
{
name = "html";
}
{
name = "css";
}
{
name = "yaml";
}
];
};
};
}; };
}; };
};
};
} }

View file

@ -174,7 +174,6 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wget wget
stow stow
starship
rustup rustup
cargo cargo
jre jre
@ -183,7 +182,6 @@
nodejs nodejs
polkit_gnome polkit_gnome
wireplumber wireplumber
qt6.full
gcc gcc
cmake cmake
libvirt libvirt
@ -191,7 +189,19 @@
python3Full python3Full
python3.pkgs.pip python3.pkgs.pip
gtk-engine-murrine gtk-engine-murrine
gnupg
pinentry-gtk2 pinentry-gtk2
# LSPS
nil
rust-analyzer
gopls
sumneko-lua-language-server
marksman
nodePackages_latest.vscode-html-languageserver-bin
nodePackages_latest.vscode-css-languageserver-bin
nodePackages_latest.yaml-language-server
]; ];
fonts = { fonts = {