mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
docs(builtin): fix some missing lines (#24615)
These two functions seem to have previously had their docs start on the same line as the signature, which I guess contributed to the lines being lost (though I checked all other such functions from before again and these were the only two).
This commit is contained in:
parent
c6c21db82b
commit
4134cebb17
2
runtime/doc/builtin.txt
generated
2
runtime/doc/builtin.txt
generated
@ -3411,6 +3411,7 @@ id({expr}) *id()*
|
|||||||
reuse identifiers of the garbage-collected ones.
|
reuse identifiers of the garbage-collected ones.
|
||||||
|
|
||||||
indent({lnum}) *indent()*
|
indent({lnum}) *indent()*
|
||||||
|
The result is a Number, which is indent of line {lnum} in the
|
||||||
current buffer. The indent is counted in spaces, the value
|
current buffer. The indent is counted in spaces, the value
|
||||||
of 'tabstop' is relevant. {lnum} is used just like in
|
of 'tabstop' is relevant. {lnum} is used just like in
|
||||||
|getline()|.
|
|getline()|.
|
||||||
@ -3888,6 +3889,7 @@ keytrans({string}) *keytrans()*
|
|||||||
< <C-Home>
|
< <C-Home>
|
||||||
|
|
||||||
len({expr}) *len()* *E701*
|
len({expr}) *len()* *E701*
|
||||||
|
The result is a Number, which is the length of the argument.
|
||||||
When {expr} is a String or a Number the length in bytes is
|
When {expr} is a String or a Number the length in bytes is
|
||||||
used, as with |strlen()|.
|
used, as with |strlen()|.
|
||||||
When {expr} is a |List| the number of items in the |List| is
|
When {expr} is a |List| the number of items in the |List| is
|
||||||
|
2
runtime/lua/vim/_meta/vimfn.lua
generated
2
runtime/lua/vim/_meta/vimfn.lua
generated
@ -4115,6 +4115,7 @@ function vim.fn.iconv(string, from, to) end
|
|||||||
--- @return any
|
--- @return any
|
||||||
function vim.fn.id(expr) end
|
function vim.fn.id(expr) end
|
||||||
|
|
||||||
|
--- The result is a Number, which is indent of line {lnum} in the
|
||||||
--- current buffer. The indent is counted in spaces, the value
|
--- current buffer. The indent is counted in spaces, the value
|
||||||
--- of 'tabstop' is relevant. {lnum} is used just like in
|
--- of 'tabstop' is relevant. {lnum} is used just like in
|
||||||
--- |getline()|.
|
--- |getline()|.
|
||||||
@ -4712,6 +4713,7 @@ function vim.fn.keytrans(string) end
|
|||||||
--- @return any
|
--- @return any
|
||||||
function vim.fn.last_buffer_nr() end
|
function vim.fn.last_buffer_nr() end
|
||||||
|
|
||||||
|
--- The result is a Number, which is the length of the argument.
|
||||||
--- When {expr} is a String or a Number the length in bytes is
|
--- When {expr} is a String or a Number the length in bytes is
|
||||||
--- used, as with |strlen()|.
|
--- used, as with |strlen()|.
|
||||||
--- When {expr} is a |List| the number of items in the |List| is
|
--- When {expr} is a |List| the number of items in the |List| is
|
||||||
|
@ -5057,6 +5057,7 @@ M.funcs = {
|
|||||||
args = 1,
|
args = 1,
|
||||||
base = 1,
|
base = 1,
|
||||||
desc = [=[
|
desc = [=[
|
||||||
|
The result is a Number, which is indent of line {lnum} in the
|
||||||
current buffer. The indent is counted in spaces, the value
|
current buffer. The indent is counted in spaces, the value
|
||||||
of 'tabstop' is relevant. {lnum} is used just like in
|
of 'tabstop' is relevant. {lnum} is used just like in
|
||||||
|getline()|.
|
|getline()|.
|
||||||
@ -5775,6 +5776,7 @@ M.funcs = {
|
|||||||
args = 1,
|
args = 1,
|
||||||
base = 1,
|
base = 1,
|
||||||
desc = [=[
|
desc = [=[
|
||||||
|
The result is a Number, which is the length of the argument.
|
||||||
When {expr} is a String or a Number the length in bytes is
|
When {expr} is a String or a Number the length in bytes is
|
||||||
used, as with |strlen()|.
|
used, as with |strlen()|.
|
||||||
When {expr} is a |List| the number of items in the |List| is
|
When {expr} is a |List| the number of items in the |List| is
|
||||||
|
Loading…
Reference in New Issue
Block a user