mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-05 18:01:32 +00:00
utility/nvim-biscuits: Add pluginRC
Add the setup function for the nvim-biscuits with setupOps to pluginRC.
This commit is contained in:
parent
55fc5fecb8
commit
66e32eeafa
1 changed files with 6 additions and 0 deletions
|
@ -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})
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue