mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-08 08:05:58 +01:00
22 lines
697 B
Nix
22 lines
697 B
Nix
|
{lib, ...}: let
|
||
|
inherit (lib.options) mkOption mkEnableOption;
|
||
|
inherit (lib.types) bool;
|
||
|
inherit (lib.nvim.types) mkPluginSetupOption;
|
||
|
in {
|
||
|
options.vim.ui.edgy-nvim = {
|
||
|
enable = mkEnableOption "edgy.nvim for predefined window layouts";
|
||
|
setRecommendedNeovimOpts = mkOption {
|
||
|
type = bool;
|
||
|
default = false;
|
||
|
description = ''
|
||
|
Whether nvf should set `vim.opt.laststatus` and `vim.opt.splitkeep` to
|
||
|
values recommended by upstream to ensure maximum compatibility.
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
setupOpts = mkPluginSetupOption "edgy" {
|
||
|
animate.enabled = mkEnableOption "animation support. Requires an animation library such as `mini.animate`";
|
||
|
};
|
||
|
};
|
||
|
}
|