home: vim: completion: add 'cmp-under-comparator'
This commit is contained in:
parent
0f140bbc9d
commit
506c52fb83
2 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ set completeopt=menu,menuone,noselect
|
|||
|
||||
lua << EOF
|
||||
local cmp = require("cmp")
|
||||
local cmp_under_comparator = require("cmp-under-comparator")
|
||||
|
||||
cmp.setup({
|
||||
mapping = {
|
||||
|
|
@ -67,6 +68,7 @@ cmp.setup({
|
|||
cmp.config.compare.offset,
|
||||
cmp.config.compare.exact,
|
||||
cmp.config.compare.score,
|
||||
cmp_under_comparator.under,
|
||||
cmp.config.compare.kind,
|
||||
cmp.config.compare.sort_text,
|
||||
cmp.config.compare.length,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue