From 10256bb760fcab0dc25f7eb5b0b45966cb771939 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 13 Jul 2024 04:38:37 +0800 Subject: vim-patch:74703f1: runtime(doc): remove obsolete Ex insert behavior (#29678) related: vim/vim#15120 closes: vim/vim#15228 https://github.com/vim/vim/commit/74703f1086e7815f356123736666d9930db8683a Nvim only supports Vim Ex mode, so this is long obsolete in Nvim. Co-authored-by: Mohamed Akram --- runtime/doc/insert.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'runtime/doc/insert.txt') diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 91b0d41f1c..6eda76f239 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1927,11 +1927,6 @@ These two commands will keep on asking for lines, until you type a line containing only a ".". Watch out for lines starting with a backslash, see |line-continuation|. -When in Ex mode (see |-e|) a backslash at the end of the line can be used to -insert a NUL character. To be able to have a line ending in a backslash use -two backslashes. This means that the number of backslashes is halved, but -only at the end of the line. - NOTE: These commands cannot be used with |:global| or |:vglobal|. ":append" and ":insert" don't work properly in between ":if" and ":endif", ":for" and ":endfor", ":while" and ":endwhile". -- cgit From ba36742211eea55bed2ffbca129a45023967f204 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 14 Jul 2024 08:17:49 +0800 Subject: vim-patch:9.1.0574: ex: wrong handling of commands after bar Problem: ex: wrong handling of commands after bar Solution: for :append, :insert and :change use the text after the bar as input for those commands. This is what POSIX requests. (Mohamed Akram) See the POSIX Spec: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html#tag_20_40_13_03 Section 12.c closes: vim/vim#15229 https://github.com/vim/vim/commit/8c446da34998f6350911e07fbfd7932412c83185 Co-authored-by: Mohamed Akram --- runtime/doc/insert.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'runtime/doc/insert.txt') diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 6eda76f239..e12f240430 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1927,6 +1927,16 @@ These two commands will keep on asking for lines, until you type a line containing only a ".". Watch out for lines starting with a backslash, see |line-continuation|. +Text typed after a "|" command separator is used first. So the following +command in ex mode: > + :a|one + two + . + :visual + + one + two +< NOTE: These commands cannot be used with |:global| or |:vglobal|. ":append" and ":insert" don't work properly in between ":if" and ":endif", ":for" and ":endfor", ":while" and ":endwhile". -- cgit From f132f8e9d43e3e5f56079bcae40d87b871d7b61b Mon Sep 17 00:00:00 2001 From: glepnir Date: Sat, 27 Jul 2024 17:57:19 +0800 Subject: vim-patch:9.1.0618: cannot mark deprecated attributes in completion menu Problem: cannot mark deprecated attributes in completion menu Solution: add hl_group to the Dictionary of supported completion fields (glepnir) closes: vim/vim#15314 https://github.com/vim/vim/commit/508e7856ec4afc9d6038b14bb6893668268dccab Co-authored-by: glepnir --- runtime/doc/insert.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runtime/doc/insert.txt') diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index e12f240430..47d0b3b839 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1177,6 +1177,12 @@ items: user_data custom data which is associated with the item and available in |v:completed_item|; it can be any type; defaults to an empty string + hl_group allows specifying an additional highlight group to + apply extra attributes to completion items in the + popupmenu. Is combined with |hl-PmenuSel| and + |hl-Pmenu| highlighting attributes to apply cterm and + gui properties, such as strikethrough to the + completion items. All of these except "icase", "equal", "dup" and "empty" must be a string. If an item does not meet these requirements then an error message is given and -- cgit From b8b0e9db3f91fbaa8835b90c683c33310064c8c8 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 27 Jul 2024 21:44:05 +0800 Subject: vim-patch:9.1.0629: Rename of pum hl_group is incomplete Problem: Rename of pum hl_group is incomplete in source. Solution: Also rename the test function. Rename to user_hlattr in code to avoid confusion with pum_extra. Add test with matched text highlighting (zeertzjq). closes: vim/vim#15348 https://github.com/vim/vim/commit/4100852e099133a0c9603e1087e5dc6d82001ce7 --- runtime/doc/insert.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'runtime/doc/insert.txt') diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 47d0b3b839..ee83de9c71 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1177,12 +1177,12 @@ items: user_data custom data which is associated with the item and available in |v:completed_item|; it can be any type; defaults to an empty string - hl_group allows specifying an additional highlight group to - apply extra attributes to completion items in the - popupmenu. Is combined with |hl-PmenuSel| and - |hl-Pmenu| highlighting attributes to apply cterm and - gui properties, such as strikethrough to the - completion items. + hl_group an additional highlight group whose attributes are + combined with |hl-PmenuSel| and |hl-Pmenu| or + |hl-PmenuMatchSel| and |hl-PmenuMatch| highlight + attributes in the popup menu to apply cterm and gui + properties (with higher priority) like strikethrough + to the completion items All of these except "icase", "equal", "dup" and "empty" must be a string. If an item does not meet these requirements then an error message is given and -- cgit From fe5030c05ec52cab7de03a9ee9150e855b9eefa1 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 29 Jul 2024 08:02:31 +0800 Subject: vim-patch:partial:52e7cc2: runtime(doc): tweak documentation style a bit (#29897) closes: vim/vim#15371 https://github.com/vim/vim/commit/52e7cc26d81c61fff1b2e3b32e8b9b04347be1d3 Co-authored-by: h-east --- runtime/doc/insert.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/doc/insert.txt') diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index ee83de9c71..5ac87de0a4 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1939,7 +1939,7 @@ command in ex mode: > two . :visual - +appends the following text, after the cursor line: > one two < -- cgit From bb4b6b427c1952b4a9b72f406b913ec59f0d4d22 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 24 Aug 2024 08:38:05 +0800 Subject: vim-patch:9.1.0690: cannot set special highlight kind in popupmenu (#30128) Problem: cannot set special highlight kind in popupmenu Solution: add kind_hlgroup item to complete function (glepnir) closes: vim/vim#15561 https://github.com/vim/vim/commit/38f99a1f0d61e9bde3f4a3d0cbe2d06185c4a57f Co-authored-by: glepnir --- runtime/doc/insert.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime/doc/insert.txt') diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index 5ac87de0a4..c914ebf255 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1183,6 +1183,11 @@ items: attributes in the popup menu to apply cterm and gui properties (with higher priority) like strikethrough to the completion items + kind_hlgroup an additional highlight group specifically for setting + the highlight attributes of the completion kind. When + this field is present, it will override the |hl-PmenuKind| + highlight group, allowing for the customization of + ctermfd and guifg properties for the completion kind All of these except "icase", "equal", "dup" and "empty" must be a string. If an item does not meet these requirements then an error message is given and -- cgit From c0a8abf18e060e60b8dfeddb3a24a0d371288e2a Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 26 Aug 2024 08:10:29 +0800 Subject: vim-patch:88a6dd0: runtime(doc): fix typo (#30140) closes: vim/vim#15572 https://github.com/vim/vim/commit/88a6dd036a673b310c467bf43a872a4210e19e21 Co-authored-by: glepnir --- runtime/doc/insert.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'runtime/doc/insert.txt') diff --git a/runtime/doc/insert.txt b/runtime/doc/insert.txt index c914ebf255..d7cbb7c78e 100644 --- a/runtime/doc/insert.txt +++ b/runtime/doc/insert.txt @@ -1185,9 +1185,10 @@ items: to the completion items kind_hlgroup an additional highlight group specifically for setting the highlight attributes of the completion kind. When - this field is present, it will override the |hl-PmenuKind| - highlight group, allowing for the customization of - ctermfd and guifg properties for the completion kind + this field is present, it will override the + |hl-PmenuKind| highlight group, allowing for the + customization of ctermfg and guifg properties for the + completion kind All of these except "icase", "equal", "dup" and "empty" must be a string. If an item does not meet these requirements then an error message is given and -- cgit