Nested brace matching makes it impossible to highlight (underline) certain braces
injust opened this issue · comments
Description of the problem or steps to reproduce
- Type this:
[[]][]
- Try to put the cursor on this brace (which should highlight (underline) the matching 1st brace):
[ [ ] ] [ ]
^
- Depending on the cursor position, either the last pair or the inside pair of braces are highlighted. The outside pair of braces cannot be highlighted.
Specifications
Commit hash: 68d88b57
OS: macOS Sonoma 14.5
Terminal: Ghostty
I do not know how it is fixed but it seems to be fixed in 9eb8782. The fix is not included in the latest release.
Confirmed fixed on version 2.0.14-dev.227
(commit hash: a10624cc
)