Compare commits
2 commits
72f7a0bba9
...
7accc54935
Author | SHA1 | Date | |
---|---|---|---|
7accc54935 | |||
7ab0c189b4 |
1 changed files with 10 additions and 1 deletions
|
@ -95,6 +95,7 @@
|
||||||
jdt-language-server
|
jdt-language-server
|
||||||
bash-language-server
|
bash-language-server
|
||||||
marksman
|
marksman
|
||||||
|
python3Packages.python-lsp-server
|
||||||
];
|
];
|
||||||
languages.language = [
|
languages.language = [
|
||||||
{
|
{
|
||||||
|
@ -115,13 +116,21 @@
|
||||||
{
|
{
|
||||||
name = "java";
|
name = "java";
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
formatter.command = "${pkgs.google-java-format}/bin/google-java-format";
|
formatter = {
|
||||||
|
command = "${pkgs.google-java-format}/bin/google-java-format";
|
||||||
|
args = [ "-" ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "rust";
|
name = "rust";
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
formatter.command = "${pkgs.rustfmt}/bin/rustfmt";
|
formatter.command = "${pkgs.rustfmt}/bin/rustfmt";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "python";
|
||||||
|
auto-format = true;
|
||||||
|
formatter.command = "${pkgs.yapf}/bin/yapf";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue