From 6a32c43351669b8c529fac21885d0d8e87c9cc8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20BURGHARD?= Date: Tue, 28 Jun 2022 17:04:35 +0200 Subject: [PATCH] fix: alternate stop cs region after first non escaped } to prevent gobbling % --- rc/filetype/latex.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/filetype/latex.kak b/rc/filetype/latex.kak index 1d9f354a..fa75b497 100644 --- a/rc/filetype/latex.kak +++ b/rc/filetype/latex.kak @@ -33,9 +33,9 @@ provide-module latex %~ add-highlighter shared/latex regions add-highlighter shared/latex/content default-region group -# Region for control sequence (with latex2e arguments and options) starting with unescaped \ +# Region for control sequence (includes latex2e arguments and options) starting with unescaped \ # and ending at eol or word boundaries not preceded nor followed by @ : \ { } [ ] * -add-highlighter shared/latex/cs region '(?