feat(nvim/rust): load crates plugin
This commit is contained in:
@@ -57,7 +57,9 @@ cmp.setup({
|
||||
keep_all_entries = false,
|
||||
enable_in_context = function() return true end
|
||||
}
|
||||
}, {name = 'conventionalcommits', keyword_length = 1 },
|
||||
},
|
||||
{name = 'conventionalcommits', keyword_length = 1 },
|
||||
{name = 'crates'},
|
||||
},
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
@@ -73,6 +75,7 @@ cmp.setup({
|
||||
path = '📁',
|
||||
spell = '💬',
|
||||
calc = '√',
|
||||
crates = '📦',
|
||||
}
|
||||
item.menu = menu_icon[entry.source.name]
|
||||
return item
|
||||
|
||||
Reference in New Issue
Block a user