From 7838c242e96c4f6c6432a997234bb2dbdbfea658 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 14 Oct 2025 19:22:03 -0400 Subject: docs: types, news, lua-plugin - mention "lua_ls", not "luals". https://github.com/neovim/neovim/discussions/36182 Co-authored-by: Maria Solano --- runtime/lua/vim/lsp/client.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/lua/vim/lsp/client.lua') 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()|, -- cgit