Sublime Forum

Highlight matching brackets in Sublime Text 4

#1

I just discovered that ST4 automatically marks matching brackets/braces/parentheses with a tiny little underline. That’s really useful, but it’s so tiny that I usually miss it. Is there a way to change the mark from a tiny underline to say a highlight or perhaps make the matching brackets a bold color?

0 Likes

#2

The style can be customized via color scheme.

The following example is from my current setup. It changes forground color of matching brackets, and makes them bold and glow.

	"globals":
		"brackets_foreground": "var(purple)",
		"brackets_options": "glow bold",
		"bracket_contents_options": "glow foreground",
		"bracket_contents_foreground": "var(purple)",

		"tags_foreground": "var(blue)",
		"tags_options": "glow",
	},
2 Likes