diff --git a/plugins/by-name/bullets/default.nix b/plugins/by-name/bullets/default.nix new file mode 100644 index 00000000..5286ba10 --- /dev/null +++ b/plugins/by-name/bullets/default.nix @@ -0,0 +1,23 @@ +{ lib, ... }: +lib.nixvim.plugins.mkVimPlugin { + name = "bullets"; + url = "https://github.com/bullets-vim/bullets.vim"; + description = '' + Bullets.vim is a Vim plugin for automated bullet lists. + ''; + packPathName = "bullets.vim"; + package = "bullets-vim"; + globalPrefix = "bullets_"; + maintainers = [ lib.maintainers.DanielLaing ]; + + settingsExample = { + enabled_file_types = [ + "markdown" + "text" + "gitcommit" + "scratch" + ]; + nested_checkboxes = 0; + enable_in_empty_buffers = 0; + }; +} diff --git a/tests/test-sources/plugins/by-name/bullets/default.nix b/tests/test-sources/plugins/by-name/bullets/default.nix new file mode 100644 index 00000000..b1568ab3 --- /dev/null +++ b/tests/test-sources/plugins/by-name/bullets/default.nix @@ -0,0 +1,22 @@ +{ + empty = { + plugins.bullets.enable = true; + }; + + example = { + plugins.bullets = { + enable = true; + + settings = { + enabled_file_types = [ + "markdown" + "text" + "gitcommit" + "scratch" + ]; + nested_checkboxes = 0; + enable_in_empty_buffers = 0; + }; + }; + }; +}