diff options
-rw-r--r-- | runtime/doc/api.txt | 5 | ||||
-rw-r--r-- | runtime/doc/lsp.txt | 6 | ||||
-rw-r--r-- | runtime/doc/lua.txt | 14 | ||||
-rw-r--r-- | runtime/doc/treesitter.txt | 8 |
4 files changed, 24 insertions, 9 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index fe69d9076f..5dab065e60 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -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 diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 3b8a9d94fe..c76f57b924 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -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. diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 05404a2e35..fd1bedd8ef 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -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: ~ diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt index 39522898f9..d6bca55bd6 100644 --- a/runtime/doc/treesitter.txt +++ b/runtime/doc/treesitter.txt @@ -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 |