Compare commits

...

2 commits

Author SHA1 Message Date
Cool-Game-Dev
b2a462feb7
Add release notes entry
Add missing release notes entry, previously only contained a
reference to nvim-biscuits github.
2025-07-23 12:28:29 -05:00
Cool-Game-Dev
66e32eeafa
utility/nvim-biscuits: Add pluginRC
Add the setup function for the nvim-biscuits with setupOps to pluginRC.
2025-07-23 12:20:14 -05:00
2 changed files with 9 additions and 0 deletions

View file

@ -480,3 +480,6 @@
[Cool-Game-Dev](https://github.com/Cool-Game-Dev):
[nvim-biscuits]: https://github.com/code-biscuits/nvim-biscuits
- Add [nvim-biscuits] to show block context. Available at
`vim.utility.nvim-biscuits`.

View file

@ -4,11 +4,17 @@
...
}: let
inherit (lib.modules) mkIf;
inherit (lib.nvim.dag) entryAnywhere;
inherit (lib.nvim.lua) toLuaObject;
cfg = config.vim.utility.nvim-biscuits;
in {
config = mkIf cfg.enable {
vim = {
startPlugins = ["nvim-biscuits"];
pluginRC.nvim-biscuits = entryAnywhere ''
require('nvim-biscuits').setup(${toLuaObject cfg.setupOpts})
'';
};
};
}