helix: more language updates

This commit is contained in:
notohh 2024-05-27 12:35:09 -04:00
parent 6b8fb788a9
commit 2e542fc496
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -83,15 +83,23 @@
feature_paths = true; feature_paths = true;
}; };
}; };
rust-analyzer.config = {
checkOnSave.command = "clippy";
inlayHints = {
closingBraceHints.enable = false;
parameterHints.enable = false;
typeHints.enable = true;
};
};
nil = { nil = {
command = lib.getExe nil; command = lib.getExe nil;
}; };
vscode-css-language-server = { vscode-css-language-server = with pkgs.nodePackages; {
command = "${nodePackages.vscode-css-languageserver-bin}/bin/css-languageserver"; command = lib.getExe vscode-css-languageserver-bin;
args = ["--stdio"]; args = ["--stdio"];
}; };
typescript-language-server = with pkgs.nodePackages; { typescript-language-server = with pkgs.nodePackages; {
command = "${typescript-language-server}/bin/typescript-language-server"; command = lib.getExe typescript-language-server;
args = ["--stdio"]; args = ["--stdio"];
}; };
lua = { lua = {
@ -105,14 +113,6 @@
command = lib.getExe ruff; command = lib.getExe ruff;
args = ["server" "--preview"]; args = ["server" "--preview"];
}; };
rust-analyzer.config = {
checkOnSave.command = "clippy";
inlayHints = {
closingBraceHints.enable = false;
parameterHints.enable = false;
typeHints.enable = true;
};
};
}; };
}; };
} }