diff --git a/plugins/by-name/lsp-format-modifications/default.nix b/plugins/by-name/lsp-format-modifications/default.nix new file mode 100644 index 00000000..6198f284 --- /dev/null +++ b/plugins/by-name/lsp-format-modifications/default.nix @@ -0,0 +1,10 @@ +{ lib, ... }: +lib.nixvim.plugins.mkNeovimPlugin { + name = "lsp-format-modifications"; + package = "lsp-format-modifications-nvim"; + callSetup = false; + hasSettings = false; + + maintainers = [ lib.maintainers.shved ]; + description = "LSP formatting, but only on modified text regions."; +} diff --git a/tests/test-sources/plugins/by-name/lsp-format-modifications/default.nix b/tests/test-sources/plugins/by-name/lsp-format-modifications/default.nix new file mode 100644 index 00000000..a7f4a277 --- /dev/null +++ b/tests/test-sources/plugins/by-name/lsp-format-modifications/default.nix @@ -0,0 +1,5 @@ +{ + empty = { + plugins.lsp-format-modifications.enable = true; + }; +}