aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-12-15 06:42:29 +0800
committerGitHub <noreply@github.com>2023-12-15 06:42:29 +0800
commit165e5ececc25ce2d705efdd8ee6c8406884bf898 (patch)
treeb9c4140d628fa6c8e37c98b8f98f289d41b4b489
parent046efa106e93303bc848edf63887b3bc0889b535 (diff)
downloadrneovim-165e5ececc25ce2d705efdd8ee6c8406884bf898.tar.gz
rneovim-165e5ececc25ce2d705efdd8ee6c8406884bf898.tar.bz2
rneovim-165e5ececc25ce2d705efdd8ee6c8406884bf898.zip
vim-patch:17dca3cb97cd (#26584)
runtime(doc): grammar & typo fixes closes: vim/vim#13654 https://github.com/vim/vim/commit/17dca3cb97cdd7835e334b990565c8c0b93b1284 Co-authored-by: Dominique Pellé <dominique.pelle@tomtom.com>
-rw-r--r--runtime/doc/builtin.txt6
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua6
-rw-r--r--src/nvim/eval.lua6
3 files changed, 9 insertions, 9 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 4b0da06971..714320279a 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -5171,9 +5171,9 @@ printf({fmt}, {expr1} ...) *printf()*
< This limits the length of the text used from "line" to
"width" bytes.
- If the argument to be formatted is specified using a posional
- argument specifier, and a '*' is used to indicate that a
- number argument is to be used to specify the width or
+ If the argument to be formatted is specified using a
+ positional argument specifier, and a '*' is used to indicate
+ that a number argument is to be used to specify the width or
precision, the argument(s) to be used must also be specified
using a {n$} positional argument specifier. See |printf-$|.
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 7234b813b6..ead5d8d13b 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -6156,9 +6156,9 @@ function vim.fn.prevnonblank(lnum) end
--- <This limits the length of the text used from "line" to
--- "width" bytes.
---
---- If the argument to be formatted is specified using a posional
---- argument specifier, and a '*' is used to indicate that a
---- number argument is to be used to specify the width or
+--- If the argument to be formatted is specified using a
+--- positional argument specifier, and a '*' is used to indicate
+--- that a number argument is to be used to specify the width or
--- precision, the argument(s) to be used must also be specified
--- using a {n$} positional argument specifier. See |printf-$|.
---
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index 51cf7bb0ea..a86ca9c1ea 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -7443,9 +7443,9 @@ M.funcs = {
<This limits the length of the text used from "line" to
"width" bytes.
- If the argument to be formatted is specified using a posional
- argument specifier, and a '*' is used to indicate that a
- number argument is to be used to specify the width or
+ If the argument to be formatted is specified using a
+ positional argument specifier, and a '*' is used to indicate
+ that a number argument is to be used to specify the width or
precision, the argument(s) to be used must also be specified
using a {n$} positional argument specifier. See |printf-$|.