aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-06-15 06:08:45 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-06-15 06:09:11 +0800
commitb969e3e0b994db8bf5a5aba498f36ae4ab2555c1 (patch)
tree151b50e9dfa952bbc6902e76e939cc48261d8f59
parenta6e01d191aff9867ba023cb83b5c709be360a848 (diff)
downloadrneovim-b969e3e0b994db8bf5a5aba498f36ae4ab2555c1.tar.gz
rneovim-b969e3e0b994db8bf5a5aba498f36ae4ab2555c1.tar.bz2
rneovim-b969e3e0b994db8bf5a5aba498f36ae4ab2555c1.zip
vim-patch:c509c00: runtime(doc): fix wrong helptag for :defer
https://github.com/vim/vim/commit/c509c009bbc07eff678a9239a5813398e180f019 Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--runtime/doc/builtin.txt4
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua4
-rw-r--r--src/nvim/eval.lua4
3 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 3740bcf5db..edf12a1a6d 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -4997,9 +4997,9 @@ mkdir({name} [, {flags} [, {prot}]]) *mkdir()* *E73
{flags} can contain these character flags:
"p" intermediate directories will be created as necessary
"D" {name} will be deleted at the end of the current
- function, but not recursively |defer|
+ function, but not recursively |:defer|
"R" {name} will be deleted recursively at the end of the
- current function |defer|
+ current function |:defer|
Note that when {name} has more than one part and "p" is used
some directories may already exist. Only the first one that
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 3ef96a5f47..900e0224a0 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -6010,9 +6010,9 @@ function vim.fn.min(expr) end
--- {flags} can contain these character flags:
--- "p" intermediate directories will be created as necessary
--- "D" {name} will be deleted at the end of the current
---- function, but not recursively |defer|
+--- function, but not recursively |:defer|
--- "R" {name} will be deleted recursively at the end of the
---- current function |defer|
+--- current function |:defer|
---
--- Note that when {name} has more than one part and "p" is used
--- some directories may already exist. Only the first one that
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index ec2bfed9e4..e411db0170 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -7267,9 +7267,9 @@ M.funcs = {
{flags} can contain these character flags:
"p" intermediate directories will be created as necessary
"D" {name} will be deleted at the end of the current
- function, but not recursively |defer|
+ function, but not recursively |:defer|
"R" {name} will be deleted recursively at the end of the
- current function |defer|
+ current function |:defer|
Note that when {name} has more than one part and "p" is used
some directories may already exist. Only the first one that