From 8eceebae710bdbfc8d2648cae8dbe01302dd468b Mon Sep 17 00:00:00 2001 From: bbnolauv <86621528+bbnolauv@users.noreply.github.com> Date: Wed, 3 Jun 2026 17:52:37 +0000 Subject: [PATCH 001/151] runtime(kitty): Fix regex for kittyMapSeq region closes: #20422 Signed-off-by: bbnolauv <86621528+bbnolauv@users.noreply.github.com> Signed-off-by: Christian Brabandt --- runtime/syntax/kitty.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ?` From dec5b3a72ac616fec0db98e56fda10daad9aab65 Mon Sep 17 00:00:00 2001 From: nyngwang Date: Wed, 3 Jun 2026 17:57:40 +0000 Subject: [PATCH 002/151] runtime(doc): Update mapping descriptions closes: #20411 Signed-off-by: nyngwang Signed-off-by: Christian Brabandt --- runtime/doc/usr_51.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/runtime/doc/usr_51.txt b/runtime/doc/usr_51.txt index 82bb0faf22..e8fb68bced 100644 --- a/runtime/doc/usr_51.txt +++ b/runtime/doc/usr_51.txt @@ -1,4 +1,4 @@ -*usr_51.txt* For Vim version 9.2. Last change: 2026 Jun 02 +*usr_51.txt* For Vim version 9.2. Last change: 2026 Jun 03 VIM USER MANUAL by Bram Moolenaar @@ -250,6 +250,9 @@ difference between using and : only conventions to keep the name readable and unlikely to clash with other plugins. None of them are required: all that matters is that the sequence starts with "" and is unique. + A mapping whose {lhs} starts with is always applied to the + {rhs} of another mapping, even if remapping is explicitly disallowed. + |:nore| is the script ID, a unique identifier for a script. Internally Vim translates to "123_", where "123" can be any @@ -258,6 +261,8 @@ difference between using and : you use the ":function" command to get a list of functions. The translation of in mappings is exactly the same, that's how you can call a script-local function from a mapping. + Note: when appears in the {rhs} of a mapping, you might consider + using