mirror of
https://github.com/cap153/nvim.git
synced 2025-12-26 19:25:01 +08:00
调整sources优先级
This commit is contained in:
parent
ec08804aaf
commit
a36287d559
1 changed files with 3 additions and 3 deletions
|
|
@ -54,10 +54,10 @@ return {
|
|||
default = { 'buffer', 'lsp', 'path', 'snippets', },
|
||||
providers = {
|
||||
-- score_offset设置优先级数字越大优先级越高
|
||||
buffer = { score_offset = 2 },
|
||||
buffer = { score_offset = 4 },
|
||||
path = { score_offset = 3 },
|
||||
snippets = { score_offset = 2 },
|
||||
lsp = { score_offset = 1 },
|
||||
path = { score_offset = 4 },
|
||||
snippets = { score_offset = 3 },
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue