Skip to content

Commit 322d801

Browse files
committed
Specify priorities in blink-cmp providers
1 parent 1d39b8e commit 322d801

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

init.lua

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -942,15 +942,18 @@ require('lazy').setup({
942942
},
943943

944944
sources = {
945-
default = { 'lsp', 'copilot', 'path', 'snippets', 'lazydev' },
945+
default = { 'snippets', 'lsp', 'copilot', 'path', 'lazydev' },
946946
providers = {
947-
lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 },
947+
snippets = { score_offset = 500 },
948+
lsp = { score_offset = 400 },
949+
path = { score_offset = 300 },
948950
copilot = {
949951
name = 'copilot',
950952
module = 'blink-copilot',
951-
score_offset = 100,
953+
score_offset = 200,
952954
async = true,
953955
},
956+
lazydev = { module = 'lazydev.integrations.blink', score_offset = 100 },
954957
},
955958
},
956959

0 commit comments

Comments
 (0)