diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2022-08-30 13:14:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 13:14:27 +0200 |
commit | 981ae83fadd3bf8603f144a8bc27347e4fb7b3ad (patch) | |
tree | 87bde950e139a2508e0e07f3388d5f27ff3293df /runtime/doc | |
parent | 0368ca70c437e82ae4709f8ed9562fb9aaf03c8c (diff) | |
download | rneovim-981ae83fadd3bf8603f144a8bc27347e4fb7b3ad.tar.gz rneovim-981ae83fadd3bf8603f144a8bc27347e4fb7b3ad.tar.bz2 rneovim-981ae83fadd3bf8603f144a8bc27347e4fb7b3ad.zip |
fix(docs): update lsp.rpc.start docs to match return value changes (#20003)
Follow up to https://github.com/neovim/neovim/pull/19916
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/lsp.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index aba5c9a4a0..3393a1a1fd 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -1982,11 +1982,8 @@ start({cmd}, {cmd_args}, {dispatchers}, {extra_spawn_params}) Methods: • `notify()` |vim.lsp.rpc.notify()| • `request()` |vim.lsp.rpc.request()| - - Members: - • {pid} (number) The LSP server's PID. - • {handle} A handle for low-level interaction with the LSP server - process |vim.loop|. + • `is_closing()` returns a boolean indicating if the RPC is closing. + • `terminate()` terminates the RPC client. ============================================================================== |