Add html and css linting to helix
This commit is contained in:
parent
2f6ba250cc
commit
08dcbada27
|
@ -21,6 +21,7 @@
|
|||
|
||||
home.packages = with pkgs; [
|
||||
# System tools:
|
||||
vscode-langservers-extracted
|
||||
sops
|
||||
zsh
|
||||
bat
|
||||
|
|
|
@ -74,8 +74,41 @@
|
|||
args = ["-q"];
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "html";
|
||||
language-id = "html";
|
||||
auto-format = true;
|
||||
file-types = ["htm" "html"];
|
||||
language-servers = ["vscode-html-language-server" "vscode-eslint-language-server"];
|
||||
}
|
||||
{
|
||||
name = "css";
|
||||
language-id = "css";
|
||||
auto-format = true;
|
||||
file-types = ["css"];
|
||||
language-servers = ["vscode-css-language-server" "vscode-eslint-language-server"];
|
||||
}
|
||||
{
|
||||
name = "json";
|
||||
language-id = "json";
|
||||
auto-format = true;
|
||||
file-types = ["json"];
|
||||
language-servers = ["vscode-json-language-server" "vscode-eslint-language-server"];
|
||||
}
|
||||
];
|
||||
language-server = {
|
||||
vscode-html-language-server = {
|
||||
command = "vscode-html-language-server";
|
||||
};
|
||||
vscode-css-language-server = {
|
||||
command = "vscode-css-language-server";
|
||||
};
|
||||
vscode-eslint-language-server = {
|
||||
command = "vscode-eslint-language-server";
|
||||
};
|
||||
vscode-json-language-server = {
|
||||
command = "vscode-json-language-server";
|
||||
};
|
||||
pylsp = {
|
||||
config.pylsp.plugins = {
|
||||
flake8 = {enabled = false;};
|
||||
|
|
Loading…
Reference in a new issue