commit a0394b648c2486ce7085d3e6e7541024e1a3fe9a
parent febf4810026a1f54f63cedbfef2e30e72cf535bf
Author: Christian Clason <c.clason@uni-graz.at>
Date: Sat, 24 Feb 2024 14:49:36 +0100
docs(lsp): mark `ClientConfig.init_options` as optional
Followup to neovim/neovim#27443
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/lua/vim/lsp/client.lua b/runtime/lua/vim/lsp/client.lua
@@ -21,7 +21,7 @@ local validate = vim.validate
--- @field handlers? table<string,function>
--- @field settings? table
--- @field commands? table<string,fun(command: lsp.Command, ctx: table)>
---- @field init_options table
+--- @field init_options? table
--- @field name? string
--- @field get_language_id? fun(bufnr: integer, filetype: string): string
--- @field offset_encoding? string