aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-09-14 06:05:27 +0200
committerGitHub <noreply@github.com>2023-09-14 12:05:27 +0800
commita6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d (patch)
treec1d7f91607bf0588b689a817d291add77a8ea957 /runtime/doc
parentf5953edbac14febce9d4f8a3c35bdec1eae26fbe (diff)
downloadrneovim-a6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d.tar.gz
rneovim-a6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d.tar.bz2
rneovim-a6e74c1f0a2bbf03f5b99c167b549018f4c8fb0d.zip
docs: fix typos and other small fixes (#25005)
Co-authored-by: nuid64 <lvkuzvesov@proton.me> Co-authored-by: Mike Smith <10135646+mikesmithgh@users.noreply.github.com> Co-authored-by: XTY <xty@xty.io> Co-authored-by: Empa <emanuel@empa.xyz> Co-authored-by: kyu08 <49891479+kyu08@users.noreply.github.com>
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/builtin.txt2
-rw-r--r--runtime/doc/lsp.txt2
-rw-r--r--runtime/doc/lua.txt4
-rw-r--r--runtime/doc/options.txt6
4 files changed, 7 insertions, 7 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 400cd27302..05db977809 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -5211,7 +5211,7 @@ printf({fmt}, {expr1} ...) *printf()*
*printf-$*
In certain languages, error and informative messages are
more readable when the order of words is different from the
- corresponding message in English. To accomodate translations
+ corresponding message in English. To accommodate translations
having a different word order, positional arguments may be
used to indicate this. For instance: >vim
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt
index 1e57b85153..29c08fb32d 100644
--- a/runtime/doc/lsp.txt
+++ b/runtime/doc/lsp.txt
@@ -578,7 +578,7 @@ LspRequest *LspRequest*
"data" table passed to the callback function.
It triggers when the initial request is sent ({type} == `pending`) and
- when the LSP server responds ({type} == `complete`). If a cancelation
+ when the LSP server responds ({type} == `complete`). If a cancellation
is requested using `client.cancel_request(request_id)`, then this event
will trigger with {type} == `cancel`.
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 61afd4698a..c7f5a292e7 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -674,7 +674,7 @@ vim.regex:match_line({bufnr}, {line_idx}, {start}, {end_})
vim.regex:match_str({str}) *regex:match_str()*
Match the string against the regex. If the string should match the regex
precisely, surround the regex with `^` and `$` . If there was a match, the byte indices for the beginning and end of the
- match are returned. When there is no match, `nil` is returned. Because any integer is "truthy", `regex:match()` can be directly used as a condition in an if-statement.
+ match are returned. When there is no match, `nil` is returned. Because any integer is "truthy", `regex:match_str()` can be directly used as a condition in an if-statement.
Parameters: ~
• {str} (string)
@@ -1772,7 +1772,7 @@ vim.system({cmd}, {opts}, {on_exit}) *vim.system()*
• stdout: (boolean|function) Handle output from stdout.
When passed as a function must have the signature
`fun(err: string, data: string)`. Defaults to `true`
- • stderr: (boolean|function) Handle output from stdout.
+ • stderr: (boolean|function) Handle output from stderr.
When passed as a function must have the signature
`fun(err: string, data: string)`. Defaults to `true`.
• text: (boolean) Handle stdout and stderr as text.
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 68be0da2fd..f758782f09 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -2901,10 +2901,10 @@ A jump table for the options with a short description can be found at |Q_op|.
n-v-c-sm:block,i-ci-ve:ver25-Cursor,r-cr-o:hor20
In Normal et al. modes, use a block cursor
with the default colors defined by the host
- terminal. In Insert-likes modes, use
+ terminal. In Insert-like modes, use
a vertical bar cursor with colors from
- "Cursor" highlight group. In Replace-likes
- modes, use a underline cursor with
+ "Cursor" highlight group. In Replace-like
+ modes, use an underline cursor with
default colors.
i-ci:ver30-iCursor-blinkwait300-blinkon200-blinkoff150
In Insert and Command-line Insert mode, use a