mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 16:49:49 +01:00
21 lines
697 B
Nix
21 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`";
|
|
};
|
|
};
|
|
}
|