Change completion order and groups
This commit is contained in:
parent
b0f63be745
commit
ee93afbd3a
@ -54,15 +54,13 @@
|
||||
entry.source.name))
|
||||
vim_item)
|
||||
}
|
||||
:sources (cmp.config.sources
|
||||
[{ :name "nvim_lsp" :priority 2 }
|
||||
{ :name "snippy" :priority 1 }
|
||||
{ :name "buffer" :priority 0 }
|
||||
{ :name "path" :priority 0 }]
|
||||
[{ :name "treesitter" :priority 2 }
|
||||
{ :name "snippy" :priority 1 }
|
||||
{ :name "buffer" :priority 0 }
|
||||
{ :name "path" :priority 0 }])
|
||||
:sources [{ :name "nvim_lsp" :priority 2 :group 1 }
|
||||
{ :name "snippy" :priority 2 :group 2 }
|
||||
{ :name "treesitter" :priority 1 :group 3 }
|
||||
{ :name "buffer" :priority 0 :group 3 }
|
||||
{ :name "path" :priority 0 :group 4 }]
|
||||
:view {
|
||||
:entries { :name "custom" :selection_order "near_cursor" }}
|
||||
:sorting {
|
||||
:priority_weight 2
|
||||
:comparators [
|
||||
|
Reference in New Issue
Block a user