diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-11-27 11:26:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-27 11:26:49 -0500 |
commit | b51b0aecc969040641da29dbd7cf28e419972f15 (patch) | |
tree | 4ea697718367451f481551a4d96c61076738c76d /runtime/doc/lsp.txt | |
parent | caa6992a1071a2ac373bec21085685da4a1790d6 (diff) | |
download | rneovim-b51b0aecc969040641da29dbd7cf28e419972f15.tar.gz rneovim-b51b0aecc969040641da29dbd7cf28e419972f15.tar.bz2 rneovim-b51b0aecc969040641da29dbd7cf28e419972f15.zip |
docs: regenerate (#16390)
Co-authored-by: marvim <marvim@users.noreply.github.com>
Diffstat (limited to 'runtime/doc/lsp.txt')
-rw-r--r-- | runtime/doc/lsp.txt | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index dc782813f4..6482309b8a 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -722,7 +722,7 @@ omnifunc({findstart}, {base}) *vim.lsp.omnifunc()* |CompleteDone| *vim.lsp.prepare()* -prepare({bufnr}, {firstline}, {lastline}, {new_lastline}, {changedtick}) +prepare({bufnr}, {firstline}, {lastline}, {new_lastline}) TODO: Documentation reset({client_id}) *vim.lsp.reset()* @@ -800,10 +800,11 @@ start_client({config}) *vim.lsp.start_client()* functions. Commands passed to start_client take precedence over the global command registry. Each key - must be a unique comand name, and the - value is a function which is called - if any LSP action (code action, code - lenses, ...) triggers the command. + must be a unique command name, and + the value is a function which is + called if any LSP action (code + action, code lenses, ...) triggers + the command. {init_options} Values to pass in the initialization request as `initializationOptions` . See `initialize` in the LSP spec. @@ -1369,7 +1370,7 @@ buf_highlight_references({bufnr}, {references}, {offset_encoding}) See also: ~ https://microsoft.github.io/language-server-protocol/specifications/specification-3-17/#documentHighlight -buf_lines({bufnr}) *vim.lsp.util.buf_lines()* +buf_lines() *vim.lsp.util.buf_lines()* TODO: Documentation *vim.lsp.util.character_offset()* @@ -1849,7 +1850,8 @@ rpc_response_error({code}, {message}, {data}) *vim.lsp.rpc.start()* start({cmd}, {cmd_args}, {dispatchers}, {extra_spawn_params}) Starts an LSP server process and create an LSP RPC client - object to interact with it. + object to interact with it. Communication with the server is + currently limited to stdio. Parameters: ~ {cmd} (string) Command to start the LSP |