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:
Sean Dewar 2023-08-08 21:25:22 +01:00 committed by GitHub
parent c6c21db82b
commit 4134cebb17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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