Improve docs

This commit is contained in:
hrsh7th 2023-02-24 12:23:36 +09:00
parent 4261563063
commit 7a3b1e76f7
3 changed files with 7 additions and 0 deletions

View file

@ -474,6 +474,11 @@ matching.disallow_fuzzy_matching~
`boolean`
Whether to allow fuzzy matching.
*cmp-config.matching.disallow_fullfuzzy_matching*
matching.disallow_fullfuzzy_matching~
`boolean`
Whether to allow full-fuzzy matching.
*cmp-config.matching.disallow_partial_fuzzy_matching*
matching.disallow_partial_fuzzy_matching~
`boolean`

View file

@ -50,6 +50,7 @@ return function()
matching = {
disallow_fuzzy_matching = false,
disallow_fullfuzzy_matching = false,
disallow_partial_fuzzy_matching = true,
disallow_partial_matching = false,
disallow_prefix_unmatching = false,

View file

@ -125,6 +125,7 @@ cmp.ItemField = {
---@class cmp.MatchingConfig
---@field public disallow_fuzzy_matching boolean
---@field public disallow_fullfuzzy_matching boolean
---@field public disallow_partial_fuzzy_matching boolean
---@field public disallow_partial_matching boolean
---@field public disallow_prefix_unmatching boolean