meraymond2 / idris-vscode

Idris front-end for VS Code
MIT License
59 stars 10 forks source link

Handle nested block comments #37

Closed meraymond2 closed 3 years ago

meraymond2 commented 3 years ago

Correctly handle nested block comments, which are valid Idris grammar as long as they're balanced. Currently these are highlighted incorrectly, see https://github.com/meraymond2/idris-vscode/issues/36.

image

This fix was quite painless because I found https://github.com/soegaard/racket-highlight-for-github, where they solved this exact problem. So thank you @soegaard!