2021-07-04 12:41:34 +02:00
|
|
|
{# Randomly color parentheses pairs #}
|
2021-10-17 14:36:00 +02:00
|
|
|
{{ add_source('p00f/nvim-ts-rainbow') -}}
|
2021-07-04 12:41:34 +02:00
|
|
|
lua << EOF
|
|
|
|
require'nvim-treesitter.configs'.setup {
|
|
|
|
rainbow = {
|
|
|
|
enable = true,
|
|
|
|
extended_mode = true, -- Highlight also non-parentheses delimiters, boolean or table: lang -> boolean
|
|
|
|
max_file_lines = 1000, -- Do not enable for files with more than 1000 lines, int
|
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|