utility/nvim-biscuits: init

Add `utility.nvim-biscuits` module. Adds the plugin nvim-biscuits, a
rewrite of assorted biscuits.
This commit is contained in:
Cool-Game-Dev 2025-07-22 12:23:28 -05:00
commit 29d6f51cbc
No known key found for this signature in database
7 changed files with 49 additions and 0 deletions

View file

@ -15,6 +15,7 @@
./multicursors
./new-file-template
./nix-develop
./nvim-biscuits
./oil-nvim
./outline
./preview

View file

@ -0,0 +1,14 @@
{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.vim.utility.nvim-biscuits;
in {
config = mkIf cfg.enable {
vim = {
startPlugins = ["nvim-biscuits"];
};
};
}

View file

@ -0,0 +1,6 @@
{
imports = [
./config.nix
./nvim-biscuits.nix
];
}

View file

@ -0,0 +1,12 @@
{lib, ...}: let
inherit (lib.options) mkEnableOption;
inherit (lib.nvim.types) mkPluginSetupOption;
in {
options.vim.utility.nvim-biscuits = {
enable = mkEnableOption ''
A neovim port of Assorted Biscuits.
'';
setupOpts = mkPluginSetupOption "nvim-biscuits" {};
};
}