meraymond2/idris-vscode

`[] and `() break syntax highlighting

michaelmesser opened this issue · 3 comments

`[] and `() break syntax highlighting. Everything after the ` is the same color till the next `.

I think I've fixed this, but it's not a syntactical element I've ever used before, so if you have any example code, that would be useful to confirm. I could only find one file in the Idris2 repo that used this.

Before:
2020-12-05-183759_1920x1080_scrot
After:
2020-12-05-183821_1920x1080_scrot

That looks right to me. `() contains an expression. `[] contains declarations.

This should be fixed in the latest version. Feel free to reopen this if you come across any other cases. 👍