Skip to content

Conversation

@mjkallen
Copy link
Contributor

@mjkallen mjkallen commented Jul 4, 2024

This fixes the issue with keywords never being highlighted as such, because they were recognized as (regular) functions. See #2082.

Also adds the "new" forward pipe operator ('|>') which was introduced in R version 4.1

mjkallen added 2 commits July 4, 2024 09:59
Keywords such as for, if, while, break, function, etc. should be recognized
before function names such as list(), c(), etc.  are recognized.

Closes pygments#2082.
The forward pipe operator ('|>') is new since R version 4.1
@Anteru Anteru merged commit 78bc76c into pygments:master Aug 9, 2024
@Anteru Anteru added this to the 2.19.0 milestone Aug 9, 2024
@Anteru Anteru added the A-lexing area: changes to individual lexers label Aug 9, 2024
@Anteru
Copy link
Collaborator

Anteru commented Aug 9, 2024

Thanks a lot, merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lexing area: changes to individual lexers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants