diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-10-19 06:03:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 06:03:20 -0700 |
commit | 29b718d04c474433977e952ac7f3561041f3bda0 (patch) | |
tree | 52e6f79df33f71c64b93d48caf49433402bf4dac | |
parent | 4219cfcb90fcb7ba919d1d631ee2938dc056f50e (diff) | |
download | rneovim-29b718d04c474433977e952ac7f3561041f3bda0.tar.gz rneovim-29b718d04c474433977e952ac7f3561041f3bda0.tar.bz2 rneovim-29b718d04c474433977e952ac7f3561041f3bda0.zip |
docs: regenerate (#15986)
Co-authored-by: marvim <marvim@users.noreply.github.com>
-rw-r--r-- | runtime/doc/api.txt | 50 | ||||
-rw-r--r-- | runtime/doc/lsp.txt | 4 |
2 files changed, 54 insertions, 0 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 1ad0a6883e..878fc2b301 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -531,6 +531,20 @@ nvim__get_hl_defs({ns_id}) *nvim__get_hl_defs()* nvim__get_lib_dir() *nvim__get_lib_dir()* TODO: Documentation +nvim__get_runtime({pat}, {all}, {*opts}) *nvim__get_runtime()* + Find files in runtime directories + + Attributes: ~ + {fast} + + Parameters: ~ + {pat} pattern of files to search for + {all} whether to return all matches or only the first + {options} is_lua: only search lua subdirs + + Return: ~ + list of absolute paths to the found files + nvim__id({obj}) *nvim__id()* Returns object given as argument. @@ -582,6 +596,9 @@ nvim__id_float({flt}) *nvim__id_float()* nvim__inspect_cell({grid}, {row}, {col}) *nvim__inspect_cell()* TODO: Documentation +nvim__runtime_inspect() *nvim__runtime_inspect()* + TODO: Documentation + nvim__screenshot({path}) *nvim__screenshot()* TODO: Documentation @@ -802,6 +819,39 @@ nvim_eval({expr}) *nvim_eval()* Return: ~ Evaluation result or expanded object +nvim_eval_statusline({str}, {*opts}) *nvim_eval_statusline()* + Evaluates statusline string. + + Attributes: ~ + {fast} + + Parameters: ~ + {str} Statusline string (see 'statusline'). + {opts} Optional parameters. + • winid: (number) |window-ID| of the window to use + as context for statusline. + • maxwidth: (number) Maximum width of statusline. + • fillchar: (string) Character to fill blank + spaces in the statusline (see 'fillchars'). + • highlights: (boolean) Return highlight + information. + • use_tabline: (boolean) Evaluate tabline instead + of statusline. When |TRUE|, {winid} is ignored. + + Return: ~ + Dictionary containing statusline information, with these + keys: + • str: (string) Characters that will be displayed on the + statusline. + • width: (number) Display width of the statusline. + • highlights: Array containing highlight information of + the statusline. Only included when the "highlights" key + in {opts} is |TRUE|. Each element of the array is a + |Dictionary| with these keys: + • start: (number) Byte index (0-based) of first + character that uses the highlight. + • group: (string) Name of highlight group. + nvim_exec({src}, {output}) *nvim_exec()* Executes Vimscript (multiline block of Ex-commands), like anonymous |:source|. diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index ac797de92d..c3421e6c82 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -628,6 +628,10 @@ client_is_stopped({client_id}) *vim.lsp.client_is_stopped()* flush({client}) *vim.lsp.flush()* TODO: Documentation + *vim.lsp.for_each_buffer_client()* +for_each_buffer_client({bufnr}, {fn}) + TODO: Documentation + get_active_clients() *vim.lsp.get_active_clients()* Gets all active clients. |