mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 01:38:40 +02:00
plugins/treesitter-rainbow: add plugin + test
This commit is contained in:
parent
ff791d20c8
commit
d7967f3ffd
3 changed files with 97 additions and 0 deletions
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue