dotfiles/config/automatrop/roles/vim/templates/plugins/ts-rainbow.j2
Geoffrey Frogeye 9bfe9d25e4
Use RGB colors for nvim
So we can use some nice plugins.
2021-07-04 13:05:30 +02:00

12 lines
365 B
Django/Jinja

{# 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