docs: regenerate

This commit is contained in:
marvim 2021-06-02 00:43:13 +00:00
parent 056c464e8a
commit 2ebc28018e
4 changed files with 24 additions and 9 deletions

View File

@ -1353,6 +1353,11 @@ nvim_open_win({buffer}, {enter}, {config}) *nvim_open_win()*
by character: [ {"+", "MyCorner"}, {"x",
"MyBorder"} ]
• `noautocmd` : If true then no buffer-related
autocommand events such as |BufEnter|,
|BufLeave| or |BufWinEnter| may fire from
calling this function.
Return: ~
Window handle, or 0 on error

View File

@ -1610,6 +1610,12 @@ apply_workspace_edit({workspace_edit})
Parameters: ~
{workspace_edit} (table) `WorkspaceEdit`
border_height({id}) *vim.lsp.util.border_height()*
TODO: Documentation
border_width({id}) *vim.lsp.util.border_width()*
TODO: Documentation
buf_clear_references({bufnr}) *vim.lsp.util.buf_clear_references()*
Removes document highlights from a buffer.

View File

@ -1505,12 +1505,14 @@ validate({opt}) *vim.validate()*
vim.validate{arg1={{'foo'}, 'table'}, arg2={'foo', 'string'}}
=> NOP (success)
vim.validate{arg1={1, 'table'}}
=> error('arg1: expected table, got number')
vim.validate{arg1={3, function(a) return (a % 2) == 0 end, 'even number'}}
=> error('arg1: expected even number, got 3')
<
>
vim.validate{arg1={1, 'table'}}
=> error('arg1: expected table, got number')
<
>
vim.validate{arg1={3, function(a) return (a % 2) == 0 end, 'even number'}}
=> error('arg1: expected even number, got 3')
<
Parameters: ~

View File

@ -469,9 +469,11 @@ Query:iter_matches({self}, {node}, {source}, {start}, {stop})
for id, node in pairs(match) do
local name = query.captures[id]
-- `node` was captured by the `name` capture in the match
local node_data = metadata[id] -- Node level metadata
<
>
local node_data = metadata[id] -- Node level metadata
<
>
... use the info here ...
end
end