rainbow
rainbow copied to clipboard
[Bug] Does not work well in Rmarkdown code chunk
Config:
let g:rainbow_conf = {
\ 'separately': {
\ 'rmd': {
\ 'parentheses_options': 'containedin=rmdrInline,@Rmdr contained',
\ },
\ 'nerdtree': 0,
\ }
\ }
Some results:
The syntax of rmd.vim can found in https://github.com/jalvesaq/R-Vim-runtime
Can you check which syntax rules the brackets on lines 73 and 77 are matched with using the tools described in the troubleshooting section of README? I suspect that a keyword syntax rule is overriding the rainbow rules