aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2025-02-20 11:52:03 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2025-03-15 15:00:44 +0100
commit026cfa28d0dccb7f1832d6fcca378518a4082fdb (patch)
tree2ef784adf7e85441cc418e8c4c6e0716f35077e0 /runtime/doc
parenta41b6fd17341d9e6dbbc7d7806060603ab3a9b7e (diff)
downloadrneovim-026cfa28d0dccb7f1832d6fcca378518a4082fdb.tar.gz
rneovim-026cfa28d0dccb7f1832d6fcca378518a4082fdb.tar.bz2
rneovim-026cfa28d0dccb7f1832d6fcca378518a4082fdb.zip
docs: misc
Co-authored-by: Au. <acehinnnqru@gmail.com> Co-authored-by: Daniel Rainer <daniel.rainer@localhost> Co-authored-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com> Co-authored-by: Lewis Russell <lewis6991@gmail.com> Co-authored-by: Luuk van Baal <luukvbaal@gmail.com> Co-authored-by: Pierre Barbin <pierre@heitzsystem.com> Co-authored-by: Riley Bruins <ribru17@hotmail.com> Co-authored-by: Yinzuo Jiang <jiangyinzuo@foxmail.com> Co-authored-by: phanium <91544758+phanen@users.noreply.github.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/api.txt3
-rw-r--r--runtime/doc/builtin.txt4
-rw-r--r--runtime/doc/diagnostic.txt2
-rw-r--r--runtime/doc/lua.txt6
-rw-r--r--runtime/doc/luaref.txt2
-rw-r--r--runtime/doc/sign.txt4
-rw-r--r--runtime/doc/syntax.txt2
-rw-r--r--runtime/doc/windows.txt4
8 files changed, 13 insertions, 14 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index a714034e50..e096231724 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -2924,8 +2924,7 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {opts})
'nowrap', otherwise the same as "trunc".
• ephemeral : for use with |nvim_set_decoration_provider()|
callbacks. The mark will only be used for the current
- redraw cycle, and not be permantently stored in the
- buffer.
+ redraw cycle, and not be permanently stored in the buffer.
• right_gravity : boolean that indicates the direction the
extmark will be shifted in when new text is inserted (true
for right, false for left). Defaults to true.
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt
index 9214b33519..2ba464e80c 100644
--- a/runtime/doc/builtin.txt
+++ b/runtime/doc/builtin.txt
@@ -6462,7 +6462,7 @@ matchfuzzy({list}, {str} [, {dict}]) *matchfuzzy()*
Parameters: ~
• {list} (`any[]`)
• {str} (`string`)
- • {dict} (`string?`)
+ • {dict} (`table?`)
Return: ~
(`any`)
@@ -6492,7 +6492,7 @@ matchfuzzypos({list}, {str} [, {dict}]) *matchfuzzypos()*
Parameters: ~
• {list} (`any[]`)
• {str} (`string`)
- • {dict} (`string?`)
+ • {dict} (`table?`)
Return: ~
(`any`)
diff --git a/runtime/doc/diagnostic.txt b/runtime/doc/diagnostic.txt
index bbc1d1de2c..2b891bde1b 100644
--- a/runtime/doc/diagnostic.txt
+++ b/runtime/doc/diagnostic.txt
@@ -122,7 +122,7 @@ with |vim.notify()|: >lua
-- Users can configure the handler
vim.diagnostic.config({
["my/notify"] = {
- log_level = vim.log.levels.INFO
+ log_level = vim.log.levels.INFO,
-- This handler will only receive "error" diagnostics.
severity = vim.diagnostic.severity.ERROR,
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index a99b050195..86cfc56693 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -4288,7 +4288,7 @@ Iter:last() *Iter:last()*
(`any`)
See also: ~
- • Iter.rpeek
+ • |Iter:rpeek()|
Iter:map({f}) *Iter:map()*
Maps the items of an iterator pipeline to the values returned by `f`.
@@ -4425,7 +4425,7 @@ Iter:rfind({f}) *Iter:rfind()*
(`any`)
See also: ~
- • Iter.find
+ • |Iter:find()|
Iter:rpeek() *Iter:rpeek()*
Gets the last value of a |list-iterator| without consuming it.
@@ -4444,7 +4444,7 @@ Iter:rpeek() *Iter:rpeek()*
(`any`)
See also: ~
- • Iter.last
+ • |Iter:last()|
Iter:rskip({n}) *Iter:rskip()*
Discards `n` values from the end of a |list-iterator| pipeline.
diff --git a/runtime/doc/luaref.txt b/runtime/doc/luaref.txt
index cd0b648560..ffcd537d7b 100644
--- a/runtime/doc/luaref.txt
+++ b/runtime/doc/luaref.txt
@@ -3905,7 +3905,7 @@ package.cpath *package.cpath*
variable `LUA_CPATH` (plus another default path defined in
`luaconf.h`).
-package.loaded *package.loaded()*
+package.loaded *package.loaded*
A table used by `require` to control which modules are already loaded.
When you require a module `modname` and `package.loaded[modname]` is
not false, `require` simply returns the value stored there.
diff --git a/runtime/doc/sign.txt b/runtime/doc/sign.txt
index 9895b606fd..beae7b3ae7 100644
--- a/runtime/doc/sign.txt
+++ b/runtime/doc/sign.txt
@@ -123,8 +123,8 @@ See |sign_define()| for the equivalent Vim script function.
numhl={group}
Highlighting group used for the line number on the line where
- the sign is placed. Overrides |hl-LineNr|, |hl-LineNrAbove|,
- |hl-LineNrBelow|, and |hl-CursorLineNr|.
+ the sign is placed. Combines with |hl-LineNr|,
+ |hl-LineNrAbove|, |hl-LineNrBelow|, and |hl-CursorLineNr|.
text={text} *E239*
Define the text that is displayed when there is no icon or the
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index ae9dc67256..2feee0a511 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -336,7 +336,7 @@ Upon loading a file, Vim finds the relevant syntax file as follows:
==============================================================================
4. Conversion to HTML *convert-to-HTML* *2html.vim*
-The old to html converter has ben replaced by a Lua version and the
+The old to html converter has been replaced by a Lua version and the
documentation has been moved to |:TOhtml|.
==============================================================================
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index 6dd90f7e49..89a9c7dda3 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -1272,7 +1272,7 @@ list of buffers. |unlisted-buffer|
:w foobar | sp #
< Also see |+cmd|.
-:[N]bn[ext][!] [+cmd] [N] *:bn* *:bnext* *[b* *E87*
+:[N]bn[ext][!] [+cmd] [N] *:bn* *:bnext* *]b* *E87*
Go to [N]th next buffer in buffer list. [N] defaults to one.
Wraps around the end of the buffer list.
See |:buffer-!| for [!].
@@ -1290,7 +1290,7 @@ list of buffers. |unlisted-buffer|
Wraps around the end of the buffer list. Uses 'switchbuf'
Also see |+cmd|.
-:[N]bN[ext][!] [+cmd] [N] *:bN* *:bNext* *:bp* *:bprevious* *]b* *E88*
+:[N]bN[ext][!] [+cmd] [N] *:bN* *:bNext* *:bp* *:bprevious* *[b* *E88*
:[N]bp[revious][!] [+cmd] [N]
Go to [N]th previous buffer in buffer list. [N] defaults to
one. Wraps around the start of the buffer list.