Implement source specific options

This commit is contained in:
hrsh7th
2021-09-03 20:30:40 +09:00
parent 45b96b212c
commit 889109cbc0
4 changed files with 64 additions and 22 deletions

View File

@@ -95,6 +95,9 @@ cmp.PreselectMode.None = 'none'
---@class cmp.SourceConfig
---@field public name string
---@field public opts table
---@field public keyword_pattern string
---@field public keyword_length number
---@field public max_item_count number
return cmp