Skip to content

Add the native pipe "|>" as an admissible operator in syntax highlighting.

Pierre de Villemereuil requested to merge devillemereuil/rkward:master into master

In the R console, the native pipe "|>" was highlighted as an error in submitted commands. This change fixes this by allowing "|>" as an operator (note that the change needs to happen in the definition of "|" and "||" as operators, otherwise "|>" is always decomposed as "|", then ">" and ">" is highlighted as an error).

Merge request reports