From: bbnolauv <86621528+bbnolauv@users.noreply.github.com> Date: Wed, 3 Jun 2026 17:52:37 +0000 (+0000) Subject: runtime(kitty): Fix regex for kittyMapSeq region X-Git-Tag: v9.2.0589~2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=8eceebae710bdbfc8d2648cae8dbe01302dd468b;p=thirdparty%2Fvim.git runtime(kitty): Fix regex for kittyMapSeq region closes: #20422 Signed-off-by: bbnolauv <86621528+bbnolauv@users.noreply.github.com> Signed-off-by: Christian Brabandt --- diff --git a/runtime/syntax/kitty.vim b/runtime/syntax/kitty.vim index 6d37b664db..825ef64d1e 100644 --- a/runtime/syntax/kitty.vim +++ b/runtime/syntax/kitty.vim @@ -2,6 +2,7 @@ " Language: Kitty configuration files " Maintainer: MD. Mouinul Hossain Shawon " Last Change: Tue Sep 16 19:10:59 +06 2025 +" 2026 Jun 02 by Vim project: update kittyMapSeq highlight to match end-of-line #20422 if exists("b:current_syntax") finish @@ -46,7 +47,7 @@ syn keyword kittyMapName nextgroup=kittyMapValue skipwhite contained map syn region kittyMapValue start="\S" skip="[\r\n][ \t]*\\" end="\ze[\r\n]" contains=kittyMapSeq,kittyMapAction contained syn region kittyMapAction start="\S" skip="[\r\n][ \t]*\\" end="\ze[\r\n]" contains=@kittyPrimitive contained -syn region kittyMapSeq start="\S" end="\ze\s\|^\ze[ \t]*\\" nextgroup=kittyMapAction,kittyMouseMapType skipwhite contains=kittyCtrl,kittyAlt,kittyShift,kittySuper,kittyAnd,kittyWith,kittyKey contained +syn region kittyMapSeq start="\S" end="\ze\s\|^\ze[ \t]*\\\|\ze$" nextgroup=kittyMapAction,kittyMouseMapType skipwhite contains=kittyCtrl,kittyAlt,kittyShift,kittySuper,kittyAnd,kittyWith,kittyKey contained " Mouse shortcut """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Format: `mouse_map ?`