Skip to content

Commit

Permalink
fix(icon): update invalid cmp icon (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesChiuGit authored Apr 18, 2023
1 parent fccf351 commit e533b2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lua/modules/configs/completion/cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ return function()
local source_symbol = opts.symbol_map[entry.source.name] or icons.cmp.undefined

vim_item.menu = " " .. source_symbol .. " |"
vim_item.kind = string.format(" %s %s ", kind_symbol, vim_item.kind)
vim_item.kind = string.format(" %s %s ", kind_symbol, vim_item.kind)

if opts.maxwidth ~= nil then
if opts.ellipsis_char == nil then
Expand Down
8 changes: 4 additions & 4 deletions lua/modules/utils/icons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ local data = {
cmp = {
Codeium = "",
TabNine = "",
Copilot = "",
Copilot_alt = "",
Copilot = "",
-- Add source-specific icons here
buffer = "",
cmp_tabnine = "",
codeium = "",
cmp_tabnine = "",
codeium = "",
copilot = "",
copilot_alt = "",
latex_symbols = "",
luasnip = "",
nvim_lsp = "",
Expand Down

0 comments on commit e533b2a

Please sign in to comment.