nix-config/modules/home-manager/nvim/treesitter/rainbow-delimiters.nix
Gabe Venberg 6f0e167087 added enable option to nvim
changed home-manager personal config namespace from home.* to user.*
2024-05-29 13:40:03 -05:00

26 lines
541 B
Nix

{
config,
pkgs,
lib,
...
}: {
config =
lib.mkIf (config.user.nvim.enable-treesitter && config.user.nvim.enable)
{
programs.nixvim = {
plugins.rainbow-delimiters = {
enable = true;
highlight = [
"RainbowDelimiterYellow"
"RainbowDelimiterBlue"
"RainbowDelimiterOrange"
"RainbowDelimiterGreen"
"RainbowDelimiterViolet"
"RainbowDelimiterCyan"
# "RainbowDelimiterRed"
];
};
};
};
}