nix-community.nixvim/plugins/TEMPLATE.nix

21 lines
444 B
Nix
Raw Normal View History

{
lib,
helpers,
config,
pkgs,
...
}:
helpers.neovim-plugin.mkNeovimPlugin config {
name = "my-plugin";
originalName = "my-plugin.nvim";
defaultPackage = pkgs.vimPlugins.my-plugin-nvim; # TODO replace
# Optionnally provide an example for the `settings` option.
settingsExample = {
foo = 42;
bar.__raw = "function() print('hello') end";
};
maintainers = [lib.maintainers.MyName]; # TODO replace with your name
}