Sublime Forum

Linux only issue matching braces

#1

I have recently started using sublime on Linux Redhat Enterprise 8 (long time Mac User of sublime) and I’m seeing a bug in matching braces. When there is any use of operator -> the brace matching from surrounding braces (from above or to the left) fails, while braces after and to the right succeed.

The following images show where the matching is succeeding and failing.
This works correctly on MacOS using the same version.

Running version: 4143

0 Likes

#2

Looks like any use of < or > causes issues depending on the direction of the match.

0 Likes

#3

If that’s working on one platform and not another it’s likely caused by a customization you’ve done. I’d suggest trying safe mode to confirm this. Fwiw I can’t reproduce this on my end under Linux.

0 Likes

#4

It may be syntax specific. Did you have different language syntaxes set when you tested on Linux vs MacOS?
Related: https://github.com/sublimehq/sublime_text/issues/5907

0 Likes

#5

Also, if you have set "match_brackets_angle": true, you could try turning it back to false in case it helps.

0 Likes

#6

This seems to have been the cause. Turning off match_angle_brackets solved it.
Thanks.

0 Likes