Skip to content

Commit ac76891

Browse files
committed
Merge branch 'master' of https://github.com/ewtoombs/kakoune
2 parents c7a7c35 + e4df80c commit ac76891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rc/filetype/latex.kak

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ add-highlighter shared/latex/content default-region group
4040
# This is so that $$math$$ get matched properly.
4141
add-highlighter shared/latex/dollar-math region '(?<!\\)(?:\\\\)*\K\$[^$]' '(?<!\\)(\\\\)*\$' fill meta
4242
add-highlighter shared/latex/ddollar-math region '(?<!\\)(?:\\\\)*\K\$\$' '(?<!\\)(\\\\)*\$\$' fill meta
43-
add-highlighter shared/latex/bracket-math region '(?<!\\)(?:\\\\)*\K\\\[' '\\\]' fill meta
44-
add-highlighter shared/latex/paren-math region '(?<!\\)(?:\\\\)*\K\\\(' '\\\)' fill meta
43+
add-highlighter shared/latex/bracket-math region '(?<!\\)(?:\\\\)*\K\\\[' '(?<!\\)(\\\\)*\\\]' fill meta
44+
add-highlighter shared/latex/paren-math region '(?<!\\)(?:\\\\)*\K\\\(' '(?<!\\)(\\\\)*\\\)' fill meta
4545

4646
# Region for control sequence (includes latex2e arguments and options)
4747
# starting with unescaped \ and ending :

0 commit comments

Comments
 (0)