plugins/treesitter-rainbow: add plugin + test

This commit is contained in:
Gaetan Lepage 2023-04-06 16:11:40 +02:00 committed by Gaétan Lepage
parent ff791d20c8
commit d7967f3ffd
3 changed files with 97 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{pkgs}: {
empty = {
plugins = {
treesitter.enable = true;
treesitter-rainbow.enable = true;
};
};
default = {
plugins = {
treesitter.enable = true;
treesitter-rainbow = {
enable = true;
disable = [];
query = "rainbow-parens";
strategy = "require('ts-rainbow').strategy.global";
hlgroups = [
"TSRainbowRed"
"TSRainbowYellow"
"TSRainbowBlue"
"TSRainbowOrange"
"TSRainbowGreen"
"TSRainbowViolet"
"TSRainbowCyan"
];
};
};
};
}