Skip to content

Commit

Permalink
docs: regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
marvim committed Oct 22, 2021
1 parent cb15055 commit 9ba13e8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
10 changes: 9 additions & 1 deletion 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
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 @@ -1192,7 +1192,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 9ba13e8

Please sign in to comment.