aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-03 07:24:37 +0800
committerGitHub <noreply@github.com>2023-10-03 07:24:37 +0800
commite634222daded1e232f310f2d843079572cac9b88 (patch)
treeaf65aa8b26708eac211b71c99e4c26e219a36d05 /src
parentfd791db0ecebf5d5bf8922ba519f8dd4eef3c5e6 (diff)
parente0d669ffdb69582558f594c4b7cdc18634013f48 (diff)
downloadrneovim-e634222daded1e232f310f2d843079572cac9b88.tar.gz
rneovim-e634222daded1e232f310f2d843079572cac9b88.tar.bz2
rneovim-e634222daded1e232f310f2d843079572cac9b88.zip
Merge pull request #25475 from zeertzjq/vim-ba77bbb5c775
vim-patch:ba77bbb5c775,20f48d5b2ddb,cd39b69b0200
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.lua2
-rw-r--r--src/nvim/options.lua3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 23ad3d3787..30278bed1b 100644
--- 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
index bae9b56ef4..a0b9306908 100644
--- 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