diff --git a/rc/filetype/latex.kak b/rc/filetype/latex.kak index bfa70f39..46bdf046 100644 --- a/rc/filetype/latex.kak +++ b/rc/filetype/latex.kak @@ -33,37 +33,44 @@ 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 \ +# and ending at eol or word boundaries not preceded nor followed by @ : \ { } [ ] * +add-highlighter shared/latex/cs region '(?