diff --git a/plugins/by-name/eyeliner/default.nix b/plugins/by-name/eyeliner/default.nix new file mode 100644 index 00000000..9d2925a2 --- /dev/null +++ b/plugins/by-name/eyeliner/default.nix @@ -0,0 +1,17 @@ +{ lib, ... }: +lib.nixvim.plugins.mkNeovimPlugin { + name = "eyeliner"; + package = "eyeliner-nvim"; + description = "Move faster with unique f/F indicators"; + + maintainers = [ lib.maintainers.axka ]; + + settingsExample = lib.literalExpression '' + { + # show highlights only after keypress + highlight_on_key = true; + # dim all other characters if set to true + dim = true; + } + ''; +} diff --git a/tests/test-sources/plugins/by-name/eyeliner/default.nix b/tests/test-sources/plugins/by-name/eyeliner/default.nix new file mode 100644 index 00000000..5e15502a --- /dev/null +++ b/tests/test-sources/plugins/by-name/eyeliner/default.nix @@ -0,0 +1,29 @@ +{ + empty = { + plugins.eyeliner.enable = true; + }; + + defaults = { + plugins.eyeliner = { + enable = true; + settings = { + highlight_on_key = false; + dim = false; + max_length = 9999; + disabled_filetypes = [ ]; + disabled_buftypes = [ ]; + default_keymaps = true; + }; + }; + }; + + example = { + plugins.eyeliner = { + enable = true; + settings = { + highlight_on_key = true; + dim = true; + }; + }; + }; +}