Wrong syntax highlight when the pipe occur in a closure #9562
Labels
🐛 bug
Something isn't working
delight
this feature would delight users
syntax-highlighting
Bugs or performance issues with the syntax highlighting logic
Describe the bug
As in the title. When the pipe occurs in a closure with parameters, the pipes are highlighted incorrectly.
How to reproduce
Just type expressions like
{|p| $p * 2 | print }
.Expected behavior
Highlight the pipes correctly.
Screenshots
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: