neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit e634222daded1e232f310f2d843079572cac9b88
parent fd791db0ecebf5d5bf8922ba519f8dd4eef3c5e6
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Tue,  3 Oct 2023 07:24:37 +0800

Merge pull request #25475 from zeertzjq/vim-ba77bbb5c775

vim-patch:ba77bbb5c775,20f48d5b2ddb,cd39b69b0200
Diffstat:
Mruntime/doc/builtin.txt | 3++-
Mruntime/doc/cmdline.txt | 2+-
Mruntime/doc/filetype.txt | 2+-
Mruntime/doc/options.txt | 3++-
Mruntime/doc/pattern.txt | 2+-
Mruntime/lua/vim/_meta/options.lua | 3++-
Mruntime/lua/vim/_meta/vimfn.lua | 1+
Msrc/nvim/eval.lua | 2++
Msrc/nvim/options.lua | 3++-
9 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt @@ -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* diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt @@ -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 ~ diff --git a/runtime/doc/filetype.txt b/runtime/doc/filetype.txt @@ -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* diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt @@ -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 diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt @@ -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* diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua @@ -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 diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua @@ -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* diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua @@ -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* diff --git a/src/nvim/options.lua b/src/nvim/options.lua @@ -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