diff --git a/lua/blink/cmp/sources/lib/init.lua b/lua/blink/cmp/sources/lib/init.lua index 636c6785..0a72277f 100644 --- a/lua/blink/cmp/sources/lib/init.lua +++ b/lua/blink/cmp/sources/lib/init.lua @@ -23,7 +23,7 @@ local config = require('blink.cmp.config') --- @field get_signature_help fun(context: blink.cmp.SignatureHelpContext, callback: fun(signature_help: lsp.SignatureHelp | nil)) --- @field cancel_signature_help fun() --- ---- @field reload fun(source?: string) +--- @field reload fun(provider?: string) --- @field get_lsp_capabilities fun(override?: lsp.ClientCapabilities, include_nvim_defaults?: boolean): lsp.ClientCapabilities --- @class blink.cmp.SourceCompletionsEvent diff --git a/lua/blink/cmp/sources/lsp.lua b/lua/blink/cmp/sources/lsp.lua index 6208d62b..985e54c2 100644 --- a/lua/blink/cmp/sources/lsp.lua +++ b/lua/blink/cmp/sources/lsp.lua @@ -1,4 +1,5 @@ ---- @class blink.cmp.Source +--- @type blink.cmp.Source +--- @diagnostic disable-next-line: missing-fields local lsp = {} function lsp.new() return setmetatable({}, { __index = lsp }) end