Skip to content

Commit 055b943

Browse files
committed
fix: make all of source provider config optional
1 parent 7bf52ac commit 055b943

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/blink/cmp/config.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@
6868
--- @field enabled_providers? string[] | fun(ctx?: blink.cmp.Context): string[]
6969
---
7070
--- @class blink.cmp.SourceProviderConfig
71-
--- @field name string
72-
--- @field module string
71+
--- @field name? string
72+
--- @field module? string
7373
--- @field enabled? boolean | fun(ctx?: blink.cmp.Context): boolean
7474
--- @field opts? table
7575
--- @field transform_items? fun(ctx: blink.cmp.Context, items: blink.cmp.CompletionItem[]): blink.cmp.CompletionItem[]

0 commit comments

Comments
 (0)