From 8861a1646e815f743abbe66e9ca59be2f4bb6af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20BURGHARD?= Date: Thu, 30 Jun 2022 14:00:45 +0200 Subject: [PATCH] feat: add .ins (latex package installation) file extension to latex type as it is not linked to other filetype --- rc/filetype/latex.kak | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rc/filetype/latex.kak b/rc/filetype/latex.kak index fa75b497..3a775311 100644 --- a/rc/filetype/latex.kak +++ b/rc/filetype/latex.kak @@ -33,8 +33,11 @@ provide-module latex %~ add-highlighter shared/latex regions add-highlighter shared/latex/content default-region group -# Region for control sequence (includes latex2e arguments and options) starting with unescaped \ -# and ending at eol or word boundaries not preceded nor followed by @ : \ { } [ ] * +# Region for control sequence (includes latex2e arguments and options) +# starting with unescaped \ and ending : +# - at eol, or +# - at word boundaries not preceded nor followed by @ : \ { } [ ] *, or +# - after an unescaped } add-highlighter shared/latex/cs region '(?