aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-01-30 00:15:22 +0100
committerGitHub <noreply@github.com>2022-01-29 23:15:22 +0000
commit4a96e7809f4d9f6ce21869817eb95ff6dcaa1693 (patch)
tree9d7dbc65b9c31bc332531fe14236f5023e199d1f
parentd7d015ffff1b6c796f9a03f9a7ec914fe5909ee8 (diff)
downloadrneovim-4a96e7809f4d9f6ce21869817eb95ff6dcaa1693.tar.gz
rneovim-4a96e7809f4d9f6ce21869817eb95ff6dcaa1693.tar.bz2
rneovim-4a96e7809f4d9f6ce21869817eb95ff6dcaa1693.zip
chore: typo fixes (#16921)
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
-rw-r--r--runtime/doc/builtin.txt8
-rw-r--r--runtime/doc/eval.txt2
-rw-r--r--runtime/doc/options.txt2
-rw-r--r--runtime/doc/pi_msgpack.txt2
-rw-r--r--runtime/doc/syntax.txt2
-rw-r--r--runtime/doc/testing.txt2
-rw-r--r--src/nvim/testdir/test_help.vim2
-rw-r--r--test/functional/lua/uri_spec.lua2
8 files changed, 11 insertions, 11 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index ae15dca3f1..a421de078b 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -4920,8 +4920,8 @@ mkdir({name} [, {path} [, {prot}]])
unreadable for others.
{prot} is applied for all parts of {name}. Thus if you create
- /tmp/foo/bar then /tmp/foo will be created with 0700. Example: >
- :call mkdir($HOME . "/tmp/foo/bar", "p", 0700)
+ /tmp/foo/bar then /tmp/foo will be created with 0o700. Example: >
+ :call mkdir($HOME . "/tmp/foo/bar", "p", 0o700)
< This function is not available in the |sandbox|.
If you try to create an existing directory with {path} set to
@@ -5596,12 +5596,12 @@ reg_executing() *reg_executing()*
reg_recorded() *reg_recorded()*
Returns the single letter name of the last recorded register.
- Returns an empty string string when nothing was recorded yet.
+ Returns an empty string when nothing was recorded yet.
See |q| and |Q|.
reg_recording() *reg_recording()*
Returns the single letter name of the register being recorded.
- Returns an empty string string when not recording. See |q|.
+ Returns an empty string when not recording. See |q|.
reltime([{start} [, {end}]]) *reltime()*
Return an item that represents a time value. The item is a
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index dad3cb18cc..f2b014dde6 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1451,7 +1451,7 @@ the function returns: >
:let Bar = Foo(4)
:echo Bar(6)
< 5
-Note that the variables must exist in the outer scope before the lamba is
+Note that the variables must exist in the outer scope before the lambda is
defined for this to work. See also |:func-closure|.
Lambda and closure support can be checked with: >
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 5e7d709584..df5fad06a0 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -5646,7 +5646,7 @@ A jump table for the options with a short description can be found at |Q_op|.
Note regarding 'orphaned signs': with signcolumn numbers higher than
1, deleting lines will also remove the associated signs automatically,
in contrast to the default Vim behavior of keeping and grouping them.
- This is done in order for the signcolumn appearence not appear weird
+ This is done in order for the signcolumn appearance not appear weird
during line deletion.
diff --git a/runtime/doc/pi_msgpack.txt b/runtime/doc/pi_msgpack.txt
index 1dbd268038..801c56e49f 100644
--- a/runtime/doc/pi_msgpack.txt
+++ b/runtime/doc/pi_msgpack.txt
@@ -88,7 +88,7 @@ msgpack#type({msgpack-value}) *msgpack#type()*
Returns name of the key in |v:msgpack_types| that represents
{msgpack-value} type. Never returns zero: this function returns
msgpack type which will be dumped by |msgpackdump()| should it receive
- a list with singe {msgpack-value} as input.
+ a list with single {msgpack-value} as input.
msgpack#deepcopy({msgpack-value}) *msgpack#deepcopy()*
Like |deepcopy()|, but works correctly with |msgpack-special-dict|
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index be1586ab41..319a715e40 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -5406,7 +5406,7 @@ To test your color setup, a file has been included in the Vim distribution.
To use it, execute this command: >
:runtime syntax/colortest.vim
-Nvim uses 256-color and |true-color| terminal capabilities whereever possible.
+Nvim uses 256-color and |true-color| terminal capabilities wherever possible.
==============================================================================
18. When syntax is slow *:syntime*
diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt
index 8ec66d26a4..4e4a908d0f 100644
--- a/runtime/doc/testing.txt
+++ b/runtime/doc/testing.txt
@@ -12,7 +12,7 @@ and for testing plugins.
1. Testing Vim |testing|
2. Test functions |test-functions-details|
-3. Assert funtions |assert-functions-details|
+3. Assert functions |assert-functions-details|
==============================================================================
1. Testing Vim *testing*
diff --git a/src/nvim/testdir/test_help.vim b/src/nvim/testdir/test_help.vim
index 977dad6a45..e91dea1040 100644
--- a/src/nvim/testdir/test_help.vim
+++ b/src/nvim/testdir/test_help.vim
@@ -1,4 +1,3 @@
-
" Tests for :help
func Test_help_restore_snapshot()
@@ -109,4 +108,5 @@ func Test_help_long_argument()
endtry
endfunc
+
" vim: shiftwidth=2 sts=2 expandtab
diff --git a/test/functional/lua/uri_spec.lua b/test/functional/lua/uri_spec.lua
index fa11fdf794..4635f17557 100644
--- a/test/functional/lua/uri_spec.lua
+++ b/test/functional/lua/uri_spec.lua
@@ -101,7 +101,7 @@ describe('URI methods', function()
eq('C:\\Foo\\Bar\\Baz.txt', exec_lua(test_case))
end)
- it('file path includes only ascii charactors with encoded colon character', function()
+ it('file path includes only ascii characters with encoded colon character', function()
local test_case = [[
local uri = 'file:///C%3A/Foo/Bar/Baz.txt'
return vim.uri_to_fname(uri)