mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
31 lines
597 B
Nix
31 lines
597 B
Nix
|
{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"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|