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
|
||||
bash-language-server
|
||||
marksman
|
||||
python3Packages.python-lsp-server
|
||||
];
|
||||
languages.language = [
|
||||
{
|
||||
|
@ -115,13 +116,21 @@
|
|||
{
|
||||
name = "java";
|
||||
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";
|
||||
auto-format = true;
|
||||
formatter.command = "${pkgs.rustfmt}/bin/rustfmt";
|
||||
}
|
||||
{
|
||||
name = "python";
|
||||
auto-format = true;
|
||||
formatter.command = "${pkgs.yapf}/bin/yapf";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue