Dafny-VSCode icon indicating copy to clipboard operation
Dafny-VSCode copied to clipboard

Syntax highlighting different if predicate in parentheses.

Open fmehta opened this issue 5 years ago • 1 comments

It appears that syntax highlighting for "ensures" uses a different color if the predicate that follows is in parentheses.

Here is a screenshot:

Image

This behaviour is also observed for "requires", "invariant", and "decreases".

Best regards, Farhad.

fmehta avatar May 20 '19 09:05 fmehta

Note that the Syntax highlighting is based on https://github.com/tvi/sublime-dafny, so if this is fixed, we should open a pull request there.

fabianhauser avatar May 20 '19 11:05 fabianhauser