Change completion order and groups

This commit is contained in:
Alexander Rosenberg 2022-12-06 19:44:44 -08:00
parent b0f63be745
commit ee93afbd3a
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -54,15 +54,13 @@
entry.source.name)) entry.source.name))
vim_item) vim_item)
} }
:sources (cmp.config.sources :sources [{ :name "nvim_lsp" :priority 2 :group 1 }
[{ :name "nvim_lsp" :priority 2 } { :name "snippy" :priority 2 :group 2 }
{ :name "snippy" :priority 1 } { :name "treesitter" :priority 1 :group 3 }
{ :name "buffer" :priority 0 } { :name "buffer" :priority 0 :group 3 }
{ :name "path" :priority 0 }] { :name "path" :priority 0 :group 4 }]
[{ :name "treesitter" :priority 2 } :view {
{ :name "snippy" :priority 1 } :entries { :name "custom" :selection_order "near_cursor" }}
{ :name "buffer" :priority 0 }
{ :name "path" :priority 0 }])
:sorting { :sorting {
:priority_weight 2 :priority_weight 2
:comparators [ :comparators [