From 117f46a43c891a8cb5021568eefeff6ae0b7c001 Mon Sep 17 00:00:00 2001 From: marvim Date: Sun, 24 Oct 2021 23:40:36 +0000 Subject: [PATCH] docs: regenerate --- runtime/doc/api.txt | 17 ++++++++++------- runtime/doc/lsp.txt | 9 +++++++-- runtime/doc/lua.txt | 2 +- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 1573bec7ac1091..be0b4271433283 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -1343,7 +1343,15 @@ nvim_open_term({buffer}, {opts}) *nvim_open_term()* Parameters: ~ {buffer} the buffer to use (expected to be empty) - {opts} Optional parameters. Reserved for future use. + {opts} Optional parameters. + • on_input: lua callback for input sent, i e + keypresses in terminal mode. Note: keypresses + are sent raw as they would be to the pty + master end. For instance, a carriage return is + sent as a "\r", not as a "\n". |textlock| + applies. It is possible to call + |nvim_chan_send| directly in the callback + however. ["input", term, bufnr, data] Return: ~ Channel id, or 0 on error @@ -2350,12 +2358,7 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {*opts}) of the array. However the 'tabstop' buffer option is still used for hard tabs. By default lines are placed below the buffer line - containing the mark. • Note: currently virtual lines are limited to - one block per buffer. Thus setting a new mark - disables any previous `virt_lines` decoration. - However plugins should not rely on this - behaviour, as this limitation is planned to be - removed. + containing the mark. • virt_lines_above: place virtual lines above instead. • virt_lines_leftcol: Place extmarks in the diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 5549d3c1803010..be542bed7f10e7 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -553,6 +553,9 @@ buf_request_sync({bufnr}, {method}, {params}, {timeout_ms}) error, returns `(nil, err)` where `err` is a string describing the failure reason. +check_clients_closed() *vim.lsp.check_clients_closed()* + TODO: Documentation + client() *vim.lsp.client* LSP client object. You can get an active client object via |vim.lsp.get_client_by_id()| or @@ -641,7 +644,7 @@ get_active_clients() *vim.lsp.get_active_clients()* *vim.lsp.get_buffers_by_client_id()* get_buffers_by_client_id({client_id}) Parameters: ~ - {client_id} client id + {client_id} number client id Return: ~ list of buffer ids @@ -651,7 +654,7 @@ get_client_by_id({client_id}) *vim.lsp.get_client_by_id()* client may not yet be fully initialized. Parameters: ~ - {client_id} client id number + {client_id} number client id Return: ~ |vim.lsp.client| object, or nil @@ -826,6 +829,8 @@ start_client({config}) *vim.lsp.start_client()* notifications to the server by the given number in milliseconds. No debounce occurs if nil + • exit_timeout (number, default 500): + Milliseconds to wait for server to Return: ~ Client id. |vim.lsp.get_client_by_id()| Note: client may diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 877c838602d56d..a95ae3c7430d13 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -1201,7 +1201,7 @@ inspect({object}, {options}) *vim.inspect()* https://github.com/kikito/inspect.lua https://github.com/mpeterv/vinspect -make_dict_accessor({scope}) *vim.make_dict_accessor()* +make_dict_accessor({scope}, {handle}) *vim.make_dict_accessor()* TODO: Documentation notify({msg}, {log_level}, {_opts}) *vim.notify()*