Add the ability to specify source priority manually

This commit is contained in:
hrsh7th
2021-09-16 13:04:07 +09:00
parent ca77ec6dcc
commit 12ed912c36
3 changed files with 7 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ cmp.PreselectMode.None = 'none'
---@class cmp.SourceConfig
---@field public name string
---@field public opts table
---@field public priority number|nil
---@field public keyword_pattern string
---@field public keyword_length number
---@field public max_item_count number