This includes curly braces, square brackets, mathematical delimiters with \left and right, and \begin and \end declarations for environments and other ways of entering mathmode ($, $$, \[\], \(\)). Normal brackets and quotations are not strictly part of the syntax and the parser groups them into "words" so queries cannot be made for them anyway (unless used with \left and \right).
The end result is visual indicators for whatever currently "surrounds" the current position of the cursor.
This includes curly braces, square brackets, mathematical delimiters with
\left
andright
, and\begin
and\end
declarations for environments and other ways of entering mathmode ($
,$$
,\[\]
,\(\)
). Normal brackets and quotations are not strictly part of the syntax and the parser groups them into "words" so queries cannot be made for them anyway (unless used with\left
and\right
).The end result is visual indicators for whatever currently "surrounds" the current position of the cursor.
https://github.com/user-attachments/assets/844aae54-0582-48f8-a12f-ae212372830b
Limitation: Other editors sometimes highlight
\left(
and\right)
inbut
\left
and(
are separate nodes in the syntax tree so can't seem to capture both at the same time, so only the brackets are highlighted.