{
  config,
  lib,
  ...
}: {
  options.dotfiles.inputs.nixvim.programs.nixvim.plugins.rainbow-delimiters.enable =
    lib.dotfiles.mkEnableOption;

  config =
    lib.mkIf
    config.dotfiles.inputs.nixvim.programs.nixvim.plugins.rainbow-delimiters.enable
    {
      programs.nixvim.plugins = {
        rainbow-delimiters.enable = true;
        treesitter.enable = true;
      };
    };
}
