mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
docs(builtin): remove signatures of undocumented functions (#27039)
Having an empty signature causes an empty line in generated docs, so remove it. Also change ">" to ">vim" in foreach() docs.
This commit is contained in:
parent
46a7c1b319
commit
92672a161c
4
runtime/doc/builtin.txt
generated
4
runtime/doc/builtin.txt
generated
@ -1880,7 +1880,7 @@ foreach({expr1}, {expr2}) *foreach()*
|
||||
the current item. For a |Blob| |v:key| has the index of the
|
||||
current byte. For a |String| |v:key| has the index of the
|
||||
current character.
|
||||
Examples: >
|
||||
Examples: >vim
|
||||
call foreach(mylist, 'let used[v:val] = v:true')
|
||||
< This records the items that are in the {expr1} list.
|
||||
|
||||
@ -1901,7 +1901,6 @@ foreach({expr1}, {expr2}) *foreach()*
|
||||
When {expr2} is a Funcref errors inside a function are ignored,
|
||||
unless it was defined with the "abort" flag.
|
||||
|
||||
|
||||
fullcommand({name}) *fullcommand()*
|
||||
Get the full command name from a short abbreviated command
|
||||
name; see |20.2| for details on command abbreviations.
|
||||
@ -8363,7 +8362,6 @@ test_garbagecollect_now() *test_garbagecollect_now()*
|
||||
internally, and |v:testing| must have been set before calling
|
||||
any function.
|
||||
|
||||
|
||||
timer_info([{id}]) *timer_info()*
|
||||
Return a list with information about timers.
|
||||
When {id} is given only information about this timer is
|
||||
|
2
runtime/lua/vim/_meta/vimfn.lua
generated
2
runtime/lua/vim/_meta/vimfn.lua
generated
@ -2321,7 +2321,7 @@ function vim.fn.foldtextresult(lnum) end
|
||||
--- the current item. For a |Blob| |v:key| has the index of the
|
||||
--- current byte. For a |String| |v:key| has the index of the
|
||||
--- current character.
|
||||
--- Examples: >
|
||||
--- Examples: >vim
|
||||
--- call foreach(mylist, 'let used[v:val] = v:true')
|
||||
--- <This records the items that are in the {expr1} list.
|
||||
---
|
||||
|
@ -2940,7 +2940,7 @@ M.funcs = {
|
||||
the current item. For a |Blob| |v:key| has the index of the
|
||||
current byte. For a |String| |v:key| has the index of the
|
||||
current character.
|
||||
Examples: >
|
||||
Examples: >vim
|
||||
call foreach(mylist, 'let used[v:val] = v:true')
|
||||
<This records the items that are in the {expr1} list.
|
||||
|
||||
@ -2968,7 +2968,6 @@ M.funcs = {
|
||||
foreground = {
|
||||
args = 0,
|
||||
params = {},
|
||||
signature = '',
|
||||
lua = false,
|
||||
},
|
||||
fullcommand = {
|
||||
@ -11887,7 +11886,6 @@ M.funcs = {
|
||||
test_write_list_log = {
|
||||
args = 1,
|
||||
params = { { 'fname', 'string' } },
|
||||
signature = '',
|
||||
lua = false,
|
||||
},
|
||||
timer_info = {
|
||||
|
Loading…
Reference in New Issue
Block a user