html/css/js and emmet and stuff

This commit is contained in:
Schrottkatze 2023-12-08 11:49:22 +01:00
parent a183d81671
commit a534e50451
2 changed files with 15 additions and 5 deletions

View file

@ -4,10 +4,9 @@
sessionVariables.EDITOR = "hx"; sessionVariables.EDITOR = "hx";
packages = [ packages = [
pkgs.nil pkgs.nil
pkgs.nodePackages_latest.vscode-html-languageserver-bin pkgs.vscode-langservers-extracted
pkgs.nodePackages_latest.vscode-json-languageserver-bin pkgs.nodePackages.typescript-language-server
pkgs.nodePackages_latest.vscode-css-languageserver-bin pkgs.emmet-language-server
pkgs.nodePackages_latest.bash-language-server
]; ];
}; };
programs.helix = { programs.helix = {
@ -48,6 +47,10 @@
check.command = "clippy"; check.command = "clippy";
}; };
}; };
language-server."emmet-language-server" = {
command = "emmet-language-server";
args = ["--stdio"];
};
# "php" = { # "php" = {
# name = "php"; # name = "php";
# file-types = [ "php" ]; # file-types = [ "php" ];
@ -69,6 +72,11 @@
}; };
auto-format = true; auto-format = true;
} }
{
name = "html";
roots = [".git"];
language-servers = ["emmet-language-server" "vscode-html-language-server"];
}
]; ];
}; };
}; };

View file

@ -9,7 +9,9 @@
}; };
}; };
}; };
home.packages = [pkgs.pueue]; home.packages = [
pkgs.pueue
];
programs.nushell = { programs.nushell = {
enable = true; enable = true;
package = config.users.defaultUserShell; package = config.users.defaultUserShell;