dotfiles/config/automatrop/roles/vim/templates/plugins/ts-rainbow.j2

12 lines
367 B
Plaintext
Raw Normal View History

{# Randomly color parentheses pairs #}
{{ add_source('p00f/nvim-ts-rainbow') -}}
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