plugins/nixvim: init

This commit is contained in:
Gaetan Lepage 2024-10-16 11:48:37 +02:00
parent 429f2e8d1a
commit b9ea7f88b6
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{
lib,
...
}:
lib.nixvim.vim-plugin.mkVimPlugin {
name = "nabla";
originalName = "nabla.nvim";
package = "nabla-nvim";
description = ''
You can bind the popup action like so:
```nix
keymaps = [
{
key = "<leader>p";
action.__raw = "require('nabla').popup";
}
];
```
You can also wrap an explicit call to `popup` in a `function() ... end` in order to provide
a `border` option.
See [README](https://github.com/jbyuki/nabla.nvim/?tab=readme-ov-file#configuration) for more
information.
'';
maintainers = [ lib.maintainers.GaetanLepage ];
}

View file

@ -0,0 +1,5 @@
{
empty = {
plugins.nabla.enable = true;
};
}