Closed juliasilge closed 1 year ago
Are these "unmatched closing bracket 'comma'" problems related to the underscore problems, hopefully?
Can you please share a minimal reproducible example (with the textual content that reproduces the issue)?
We probably need something smarter for the Markdown highlight rules here:
Compare with e.g. the RStudio rules, which try to be a fair bit smarter:
It's also possible that we could simplify things by allowing the comment "tokenizer" to consume whole words containing underscores, though.
I don't know that we need another example but this file really demonstrates the problem 😆
The syntax highlighting seems to be having some problems around underscores. Notice
vetiver_write_plumber
,rlang::is_installed()
, and similar:This problem continues throughout the file, not only in roxygen comments. It's quite extremely confusing by the time I get to the bottom of the file: