how did i not know nvim-cmp has grouping
This commit is contained in:
@ -78,12 +78,15 @@ return {
|
|||||||
{ name = "luasnip", priority = 8 },
|
{ name = "luasnip", priority = 8 },
|
||||||
{ name = "nvim_lsp", priority = 7 },
|
{ name = "nvim_lsp", priority = 7 },
|
||||||
{ name = "async_path" },
|
{ name = "async_path" },
|
||||||
{ name = "nerdfont" },
|
|
||||||
{ name = "treesitter" },
|
|
||||||
{ name = "buffer" },
|
|
||||||
{ name = "calc" },
|
|
||||||
{ name = "crates" },
|
{ name = "crates" },
|
||||||
|
{ name = "calc" },
|
||||||
|
}, { -- symbols/icons group
|
||||||
|
{ name = "nerdfont" },
|
||||||
{ name = "emoji" },
|
{ name = "emoji" },
|
||||||
|
}, { -- fallback A
|
||||||
|
{ name = "treesitter" },
|
||||||
|
}, { -- fallback B
|
||||||
|
{ name = "buffer" },
|
||||||
}, conditionalSources)),
|
}, conditionalSources)),
|
||||||
|
|
||||||
sorting = {
|
sorting = {
|
||||||
@ -97,7 +100,7 @@ return {
|
|||||||
-- compare.scopes, -- what?
|
-- compare.scopes, -- what?
|
||||||
-- compare.sort_text,
|
-- compare.sort_text,
|
||||||
-- compare.exact,
|
-- compare.exact,
|
||||||
-- compare.kind,
|
compare.kind,
|
||||||
-- compare.length, -- useless
|
-- compare.length, -- useless
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user