diff --git a/plugins/none-ls/servers.nix b/plugins/none-ls/servers.nix index 2ec29591..e119fc63 100644 --- a/plugins/none-ls/servers.nix +++ b/plugins/none-ls/servers.nix @@ -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 diff --git a/tests/test-sources/plugins/none-ls.nix b/tests/test-sources/plugins/none-ls.nix index e46883a7..bb2a2c86 100644 --- a/tests/test-sources/plugins/none-ls.nix +++ b/tests/test-sources/plugins/none-ls.nix @@ -104,6 +104,8 @@ protolint.enable = true; rustfmt.enable = true; sqlfluff.enable = true; + trim_newlines.enable = true; + trim_whitespace.enable = true; }; }; };