feat(nvim/cmp): icons

This commit is contained in:
u2515h 2023-12-27 18:03:13 +01:00
parent ea9b7b7bd2
commit 78eacedab0

View File

@ -57,7 +57,7 @@ cmp.setup({
keep_all_entries = false,
enable_in_context = function() return true end
}
}, {name = 'conventionalcommits'}
}, {name = 'conventionalcommits', keyword_length = 1 },
},
window = {
completion = cmp.config.window.bordered(),
@ -70,7 +70,9 @@ cmp.setup({
nvim_lsp = 'λ',
vsnip = '',
buffer = 'Ω',
path = '🖫'
path = '📁',
spell = '💬',
calc = '',
}
item.menu = menu_icon[entry.source.name]
return item