anoma / vscode-juvix

VSCode extension for Juvix
https://marketplace.visualstudio.com/items?itemName=heliax.juvix-mode
GNU General Public License v3.0
3 stars 2 forks source link

Matching parens should be highlighted #121

Closed lukaszcz closed 1 month ago

lukaszcz commented 1 year ago

like in the Haskell extension, or the C/C++ extension.

jonaprieto commented 1 month ago

Matching parens are highlighted since v0.2.0. Open this issue if you can reproduce it with the latest version.

lukaszcz commented 1 month ago

It never worked for me, and it still doesn't. It might be some subtle difference in VSCode configuration, but it seems I have all the relevant options set correctly (including "Match brackets" set to "always")

lukaszcz commented 1 month ago

Perhaps you somehow need to define somewhere which pairs of symbols should be highlighted for Juvix?

jonaprieto commented 1 month ago

It's defined in the file language-configuration.json

lukaszcz commented 1 month ago

The brackets field there is empty. Maybe that's the issue.