Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Does not work well in Rmarkdown code chunk #202

Open
shaman-yellow opened this issue Dec 12, 2024 · 1 comment
Open

[Bug] Does not work well in Rmarkdown code chunk #202

shaman-yellow opened this issue Dec 12, 2024 · 1 comment

Comments

@shaman-yellow
Copy link

Config:

let g:rainbow_conf = {
      \ 'separately': {
      \ 'rmd': {
      \ 'parentheses_options': 'containedin=rmdrInline,@Rmdr contained',
      \ },
      \ 'nerdtree': 0,
      \ }
      \ }

Some results:

Screenshot from 2024-12-12 14-32-09

The syntax of rmd.vim can found in https://github.com/jalvesaq/R-Vim-runtime

@luochen1990
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants