aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-10-29 09:02:32 +0100
committerGitHub <noreply@github.com>2023-10-29 16:02:32 +0800
commit2dc9ceb99c018b15dcf0c443cad46efecccaf94e (patch)
treef1850d042c6628949b52d16e53912dd14683b298 /runtime
parent0da27e9bdec14acf82731c4d5e0ad7d673697af7 (diff)
downloadrneovim-2dc9ceb99c018b15dcf0c443cad46efecccaf94e.tar.gz
rneovim-2dc9ceb99c018b15dcf0c443cad46efecccaf94e.tar.bz2
rneovim-2dc9ceb99c018b15dcf0c443cad46efecccaf94e.zip
docs: small fixes (#25585)
Co-authored-by: tmummert <doczook@gmx.de> Co-authored-by: parikshit adhikari <parikshitadhikari@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/api.txt2
-rw-r--r--runtime/doc/builtin.txt2
-rw-r--r--runtime/doc/channel.txt2
-rw-r--r--runtime/doc/ft_rust.txt1
-rw-r--r--runtime/doc/options.txt2
-rw-r--r--runtime/doc/starting.txt2
-rw-r--r--runtime/lua/vim/_meta/api.lua2
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua2
8 files changed, 7 insertions, 8 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index d64020191d..4430d97fc7 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -3161,7 +3161,7 @@ nvim_open_win({buffer}, {enter}, {*config}) *nvim_open_win()*
• "shadow": A drop shadow effect by blending with the
background.
• If it is an array, it should have a length of eight or
- any divisor of eight. The array will specifify the eight
+ any divisor of eight. The array will specify the eight
chars building up the border in a clockwise fashion
starting with the top-left corner. As an example, the
double box style could be specified as [ "╔", "═" ,"╗",
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 5a99fb686e..35c94d6c74 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -7187,7 +7187,7 @@ sockconnect({mode}, {address} [, {opts}]) *sockconnect()*
{address} should be the path of a local domain socket (on
unix) or named pipe (on Windows). If {mode} is "tcp" then
{address} should be of the form "host:port" where the host
- should be an ip adderess or host name, and port the port
+ should be an ip address or host name, and port the port
number.
For "pipe" mode, see |luv-pipe-handle|. For "tcp" mode, see
diff --git a/runtime/doc/channel.txt b/runtime/doc/channel.txt
index e517d0d9cd..7184151cda 100644
--- a/runtime/doc/channel.txt
+++ b/runtime/doc/channel.txt
@@ -117,7 +117,7 @@ simple example, echoing some data through a cat-process:
call chansend(id, "hello!")
<
-Here is a example of setting a buffer to the result of grep, but only after
+Here is an example of setting a buffer to the result of grep, but only after
all data has been processed:
>vim
function! s:OnEvent(id, data, event) dict
diff --git a/runtime/doc/ft_rust.txt b/runtime/doc/ft_rust.txt
index 083b6f579f..159ff7d5f6 100644
--- a/runtime/doc/ft_rust.txt
+++ b/runtime/doc/ft_rust.txt
@@ -276,7 +276,6 @@ g:rust_keep_autopairs_default ~
Don't override auto-pairs default for the Rust filetype. The default
is 0.
-
==============================================================================
COMMANDS *rust-commands*
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 56926aec69..b2a020cf9d 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -137,7 +137,7 @@ backslash. To include a backslash you have to use two. Effectively this
means that the number of backslashes in an option value is halved (rounded
down).
In options 'path', 'cdpath', and 'tags', spaces have to be preceded with three
-backslashes instead becuase they can be separated by either commas or spaces.
+backslashes instead because they can be separated by either commas or spaces.
Comma-separated options like 'backupdir' and 'tags' will also require commas
to be escaped with two backslashes, whereas this is not needed for
non-comma-separated ones like 'makeprg'.
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 04d9142a58..af175ed2b9 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1307,7 +1307,7 @@ exactly four MessagePack objects:
10 (LocalMark)
11 (Change) Map containing some position description:
Entry Position ~
- GlobaMark Global mark position. |'A|
+ GlobalMark Global mark position. |'A|
LocalMark Local mark position. |'a|
Jump One position from the |jumplist|.
Change One position from the |changelist|.
diff --git a/runtime/lua/vim/_meta/api.lua b/runtime/lua/vim/_meta/api.lua
index 5a9b0b53ce..691da62f4f 100644
--- a/runtime/lua/vim/_meta/api.lua
+++ b/runtime/lua/vim/_meta/api.lua
@@ -1594,7 +1594,7 @@ function vim.api.nvim_open_term(buffer, opts) end
--- • "shadow": A drop shadow effect by blending with the
--- background.
--- • If it is an array, it should have a length of eight or
---- any divisor of eight. The array will specifify the eight
+--- any divisor of eight. The array will specify the eight
--- chars building up the border in a clockwise fashion
--- starting with the top-left corner. As an example, the
--- double box style could be specified as [ "╔", "═" ,"╗",
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua
index 1830e1796b..0563f9dd5f 100644
--- a/runtime/lua/vim/_meta/vimfn.lua
+++ b/runtime/lua/vim/_meta/vimfn.lua
@@ -8530,7 +8530,7 @@ function vim.fn.slice(expr, start, end_) end
--- {address} should be the path of a local domain socket (on
--- unix) or named pipe (on Windows). If {mode} is "tcp" then
--- {address} should be of the form "host:port" where the host
---- should be an ip adderess or host name, and port the port
+--- should be an ip address or host name, and port the port
--- number.
---
--- For "pipe" mode, see |luv-pipe-handle|. For "tcp" mode, see