Merge pull request #25475 from zeertzjq/vim-ba77bbb5c775

vim-patch:ba77bbb5c775,20f48d5b2ddb,cd39b69b0200
This commit is contained in:
zeertzjq 2023-10-03 07:24:37 +08:00 committed by GitHub
commit e634222dad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 14 additions and 7 deletions

View File

@ -925,7 +925,7 @@ cosh({expr}) *cosh()*
echo cosh(-0.5)
< -1.127626
count({comp}, {expr} [, {ic} [, {start}]]) *count()*
count({comp}, {expr} [, {ic} [, {start}]]) *count()* *E706*
Return the number of times an item with value {expr} appears
in |String|, |List| or |Dictionary| {comp}.
@ -5116,6 +5116,7 @@ printf({fmt}, {expr1} ...) *printf()*
using a {n$} positional argument specifier. See |printf-$|.
*E1520*
The conversion specifiers and their meanings are:
*printf-d* *printf-b* *printf-B* *printf-o* *printf-x* *printf-X*

View File

@ -742,7 +742,7 @@ An example for subtracting (which isn't very useful): >
On this text:
1 one ~
2 two ~
3 three FOLDED~
3 three FOLDED ~
4 four FOLDED ~
5 five FOLDED ~
6 six FOLDED ~

View File

@ -396,7 +396,7 @@ So to enable this only for ruby, set the following variable: >
:let g:ruby_exec = 1
If both, the global `plugin_exec` and the `<filetype>_exec` specific variable
are set, the filetpe specific variable should have precedent.
are set, the filetype specific variable should have precedent.
AWK *ft-awk-plugin*

View File

@ -1966,7 +1966,8 @@ A jump table for the options with a short description can be found at |Q_op|.
When omitted a context of six lines is used.
When using zero the context is actually one,
since folds require a line in between, also
for a deleted line.
for a deleted line. Set it to a very large
value (999999) to disable folding completely.
See |fold-diff|.
iblank Ignore changes where lines are all blank. Adds

View File

@ -1065,7 +1065,7 @@ match ASCII characters, as indicated by the range.
\(\) A pattern enclosed by escaped parentheses. */\(* */\(\)* */\)*
E.g., "\(^a\)" matches 'a' at the start of a line.
There can only be ten of these. You can use "\%(" to add more, but
There can only be nine of these. You can use "\%(" to add more, but
not counting it as a sub-expression.
*E51* *E54* *E55* *E872* *E873*

View File

@ -1591,7 +1591,8 @@ vim.go.dex = vim.go.diffexpr
--- When omitted a context of six lines is used.
--- When using zero the context is actually one,
--- since folds require a line in between, also
--- for a deleted line.
--- for a deleted line. Set it to a very large
--- value (999999) to disable folding completely.
--- See `fold-diff`.
---
--- iblank Ignore changes where lines are all blank. Adds

View File

@ -6099,6 +6099,7 @@ function vim.fn.prevnonblank(lnum) end
--- using a {n$} positional argument specifier. See |printf-$|.
---
---
--- *E1520*
--- The conversion specifiers and their meanings are:
---
--- *printf-d* *printf-b* *printf-B* *printf-o* *printf-x* *printf-X*

View File

@ -1542,6 +1542,7 @@ M.funcs = {
count = {
args = { 2, 4 },
base = 1,
tags = { 'E706' },
desc = [=[
Return the number of times an item with value {expr} appears
in |String|, |List| or |Dictionary| {comp}.
@ -7381,6 +7382,7 @@ M.funcs = {
using a {n$} positional argument specifier. See |printf-$|.
*E1520*
The conversion specifiers and their meanings are:
*printf-d* *printf-b* *printf-B* *printf-o* *printf-x* *printf-X*

View File

@ -2067,7 +2067,8 @@ return {
When omitted a context of six lines is used.
When using zero the context is actually one,
since folds require a line in between, also
for a deleted line.
for a deleted line. Set it to a very large
value (999999) to disable folding completely.
See |fold-diff|.
iblank Ignore changes where lines are all blank. Adds