nix-community.nixvim/plugins/TEMPLATE.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
657 B
Nix
Raw Permalink Normal View History

{ lib, ... }:
2024-12-22 09:58:27 +00:00
lib.nixvim.plugins.mkNeovimPlugin {
name = "my-plugin";
2024-12-13 21:15:47 -06:00
moduleName = "my-plugin"; # TODO replace (or remove entirely if it is the same as `name`)
packPathName = "my-plugin.nvim"; # TODO replace (or remove entirely if it is the same as `name`)
package = "my-plugin-nvim"; # TODO replace
# TODO replace with your name
maintainers = [ lib.maintainers.MyName ];
# TODO provide an example for the `settings` option (or remove entirely if there is no useful example)
# NOTE you can use `lib.literalExpression` or `lib.literalMD` if needed
settingsExample = {
foo = 42;
bar.__raw = "function() print('hello') end";
};
}