mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
plugins/nixvim: init
This commit is contained in:
parent
429f2e8d1a
commit
b9ea7f88b6
2 changed files with 34 additions and 0 deletions
29
plugins/by-name/nabla/default.nix
Normal file
29
plugins/by-name/nabla/default.nix
Normal 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 ];
|
||||
}
|
5
tests/test-sources/plugins/by-name/nabla/default.nix
Normal file
5
tests/test-sources/plugins/by-name/nabla/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.nabla.enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue