From a0394b648c2486ce7085d3e6e7541024e1a3fe9a Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 24 Feb 2024 14:49:36 +0100 Subject: [PATCH] docs(lsp): mark `ClientConfig.init_options` as optional Followup to neovim/neovim#27443 --- runtime/lua/vim/lsp/client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/lua/vim/lsp/client.lua b/runtime/lua/vim/lsp/client.lua index a460d95cc6..c1b41a7183 100644 --- 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 --- @field settings? table --- @field commands? 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