aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-10-23 20:15:52 -0400
committerGitHub <noreply@github.com>2025-10-23 20:15:52 -0400
commitc05ff026bc8f4e8a1ee48b19ea384f7feb6e2d79 (patch)
tree3fbedb2862ba9a07caddf988210b360dfe656700 /runtime/lua/vim/lsp
parent07d0da64ed51202f0dbd92d43c89aa5f246b175e (diff)
parenta983e6970814962a219566cee635b720ad88c64b (diff)
downloadrneovim-c05ff026bc8f4e8a1ee48b19ea384f7feb6e2d79.tar.gz
rneovim-c05ff026bc8f4e8a1ee48b19ea384f7feb6e2d79.tar.bz2
rneovim-c05ff026bc8f4e8a1ee48b19ea384f7feb6e2d79.zip
Merge #36028 docs
Diffstat (limited to 'runtime/lua/vim/lsp')
-rw-r--r--runtime/lua/vim/lsp/client.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lua/vim/lsp/client.lua b/runtime/lua/vim/lsp/client.lua
index f6c3084ef7..abf86a843a 100644
--- a/runtime/lua/vim/lsp/client.lua
+++ b/runtime/lua/vim/lsp/client.lua
@@ -34,9 +34,9 @@ local all_clients = {}
--- @class vim.lsp.ClientConfig
---
---- Callback invoked before the LSP "initialize" phase, where `params` contains the parameters
---- being sent to the server and `config` is the config that was passed to |vim.lsp.start()|.
---- You can use this to modify parameters before they are sent.
+--- Callback which can modify parameters before they are sent to the server. Invoked before LSP
+--- "initialize" phase (after `cmd` is invoked), where `params` is the parameters being sent to the
+--- server and `config` is the config passed to |vim.lsp.start()|.
--- @field before_init? fun(params: lsp.InitializeParams, config: vim.lsp.ClientConfig)
---
--- Map overriding the default capabilities defined by |vim.lsp.protocol.make_client_capabilities()|,