blink.delimiters uses a line-wise state machine parser to draw rainbow delimiters in 0.1-1ms per render, including on massive files, without Treesitter. The parser should work in all valid code and compute quicker than via Treesitter. If you want something more accurate, consider using rainbow-delimiters.nvim instead.
lazy.nvim
{
'saghen/blink.nvim',
-- all modules handle lazy loading internally
lazy = false,
opts = {
delimiters = {
enabled = true,
highlights = {
'RainbowOrange',
'RainbowPurple',
'RainbowBlue',
},
priority = 200,
ns = vim.api.nvim_create_namespace('blink.delimiters'),
debug = false,
}
},
}