REditorSupport / sublime-ide-r

R-IDE: Make Sublime Text a perfect IDE for R
MIT License
112 stars 7 forks source link

Issue with R Markdown syntax highlighting #54

Open iago-pssjd opened 9 months ago

iago-pssjd commented 9 months ago

Hi!

I have an R markdown file for which syntix highlighting produced by 'R Markdown.sublime-syntax' goes well until it does not, inside a for loop. I paste below a screenshot fragment where you can see when highlighting becomes odd:

Rsub

I believe the issue happens when the parser detects the three backticks starting a chunk, but which are inside single quotes in knit_child.