mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-14 14:37:49 +00:00
statusline/feline: init
This commit is contained in:
parent
a5a5aba34a
commit
455430f282
6 changed files with 180 additions and 0 deletions
21
modules/plugins/statusline/feline/config.nix
Normal file
21
modules/plugins/statusline/feline/config.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
|
||||
cfg = config.vim.statusline.feline-nvim;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
vim = {
|
||||
lazy.plugins.feline-nvim = {
|
||||
event = "UIEnter";
|
||||
|
||||
package = "feline-nvim";
|
||||
setupModule = "feline";
|
||||
inherit (cfg) setupOpts;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue