big changes to neovim, might streamline later, also some term environment settings

This commit is contained in:
cnst
2024-08-19 21:24:21 +02:00
parent 5f2487c4ab
commit dffdbb1581
52 changed files with 1471 additions and 447 deletions

View File

@@ -1,10 +1,24 @@
{ lib
, config
, ...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.neovim.plugins.barbar;
in
{
programs.nixvim.plugins.barbar = {
enable = true;
keymaps = {
next.key = "<TAB>";
previous.key = "<S-TAB>";
close.key = "<C-w>";
options = {
modules.devtools.neovim.plugins.barbar.enable = mkEnableOption "Enables Barbar plugin for Neovim";
};
config = mkIf cfg.enable {
programs.nixvim.plugins.barbar = {
enable = true;
keymaps = {
next.key = "<TAB>";
previous.key = "<S-TAB>";
close.key = "<C-w>";
};
};
};
}