Change completion order and groups
This commit is contained in:
parent
b0f63be745
commit
ee93afbd3a
@ -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 [
|
||||||
|
Reference in New Issue
Block a user