diff options
| author | hituzi no sippo <43565959+hituzi-no-sippo@users.noreply.github.com> | 2023-05-10 00:24:49 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-09 17:24:49 +0200 |
| commit | 02f92978fe4f4d465260a9936dca1526bbe76931 (patch) | |
| tree | 5ffea082908e999bfe6a43157f6998119802430d /runtime/doc | |
| parent | 84378c4dd56db9846b70a333530505a8048bd26e (diff) | |
| download | rneovim-02f92978fe4f4d465260a9936dca1526bbe76931.tar.gz rneovim-02f92978fe4f4d465260a9936dca1526bbe76931.tar.bz2 rneovim-02f92978fe4f4d465260a9936dca1526bbe76931.zip | |
docs(lsp): fix type of `config.cmd` argument for `vim.lsp.start_client` (#23550)
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/lsp.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index e07bfc2209..96ce5b7bc0 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -942,7 +942,7 @@ start_client({config}) *vim.lsp.start_client()* Parameters: ~ • {config} (table) Configuration for the server: - • cmd: (table|string|fun(dispatchers: table):table) command + • cmd: (string[]|fun(dispatchers: table):table) command string or list treated like |jobstart()|. The command must launch the language server process. `cmd` can also be a function that creates an RPC client. The function receives |