mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 09:48:42 +02:00
30 lines
597 B
Nix
30 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"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|