enki icon indicating copy to clipboard operation
enki copied to clipboard

Syntax highlight incorrect for Ruby

Open rovf opened this issue 9 years ago • 0 comments

As you can see in the screenshot below, which shows an excerpt of a Ruby program, a sequence of 2 exclamation marks is highlighted incorrectly (the two adjacent exclamation marks are coloured differently).

If I insert a space between them, the colouring is correct. My guess is that the parser for syntax highlighting does not recognize two adjacent exclamation marks as two applications of the same unary operator.

capture_20161213_121153

rovf avatar Dec 13 '16 11:12 rovf