mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/none-ls: add formatting source: trim_newlines & trim_whitespace
This commit is contained in:
parent
ee7e489448
commit
7e8250dc58
2 changed files with 4 additions and 0 deletions
|
@ -167,6 +167,8 @@ with lib; let
|
|||
taplo = {
|
||||
package = pkgs.taplo;
|
||||
};
|
||||
trim_newlines = {};
|
||||
trim_whitespace = {};
|
||||
};
|
||||
};
|
||||
# Format the servers to be an array of attrs like the following example
|
||||
|
|
|
@ -104,6 +104,8 @@
|
|||
protolint.enable = true;
|
||||
rustfmt.enable = true;
|
||||
sqlfluff.enable = true;
|
||||
trim_newlines.enable = true;
|
||||
trim_whitespace.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue