config.nvim/lua/plugins/nvim-ts-rainbow.lua

11 lines
452 B
Lua
Raw Normal View History

require'nvim-treesitter.configs'.setup {
2021-10-25 12:10:08 +08:00
rainbow = {
enable = true,
extended_mode = true, -- Also highlight non-bracket delimiters like html tags, boolean or table: lang -> boolean
max_file_lines = 4096, -- Do not enable for files with more than n lines, int
2022-04-03 23:22:30 +08:00
colors = {"#c1bf89", "#87c095", "#82abbc", "#d39bb6", "#acb765"} -- table of hex strings
2021-10-25 12:10:08 +08:00
-- termcolors = {} -- table of colour name strings
}
}