diff options
| author | Oskar Haarklou Veileborg <ohv1020@hotmail.com> | 2025-06-19 12:35:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-19 03:35:13 -0700 |
| commit | 150513a163d352b8e33985fdfaa0547ec7f2df9e (patch) | |
| tree | 90e6487d772b597c9849b0fbabe81b6d57a8b795 /runtime/lua/vim/lsp.lua | |
| parent | 487112d6749d4b7a2b82a60fb30cfb9e21c78394 (diff) | |
| download | rneovim-150513a163d352b8e33985fdfaa0547ec7f2df9e.tar.gz rneovim-150513a163d352b8e33985fdfaa0547ec7f2df9e.tar.bz2 rneovim-150513a163d352b8e33985fdfaa0547ec7f2df9e.zip | |
fix(lsp) type annotation for `vim.lsp.Config.cmd` #34574
The type annotation for `vim.lsp.ClientConfig.cmd` was changed,
but the update was not propagated to `vim.lsp.Config`.
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
| -rw-r--r-- | runtime/lua/vim/lsp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua index 859573cb36..6924fe5b82 100644 --- a/runtime/lua/vim/lsp.lua +++ b/runtime/lua/vim/lsp.lua @@ -273,7 +273,7 @@ end --- --- See `cmd` in [vim.lsp.ClientConfig]. --- See also `reuse_client` to dynamically decide (per-buffer) when `cmd` should be re-invoked. ---- @field cmd? string[]|fun(dispatchers: vim.lsp.rpc.Dispatchers): vim.lsp.rpc.PublicClient +--- @field cmd? string[]|fun(dispatchers: vim.lsp.rpc.Dispatchers, config: vim.lsp.ClientConfig): vim.lsp.rpc.PublicClient --- --- Filetypes the client will attach to, if activated by `vim.lsp.enable()`. If not provided, the --- client will attach to all filetypes. |