Skip to content

Commit

Permalink
docs: regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
marvim committed Oct 24, 2021
1 parent 09e96fe commit 117f46a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
17 changes: 10 additions & 7 deletions runtime/doc/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
9 changes: 7 additions & 2 deletions runtime/doc/lsp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion runtime/doc/lua.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()*
Expand Down

0 comments on commit 117f46a

Please sign in to comment.