Skip to content

Commit

Permalink
feat(config): update icons
Browse files Browse the repository at this point in the history
  • Loading branch information
max397574 committed Jul 6, 2024
1 parent bbd5b63 commit 4ce90d9
Showing 1 changed file with 31 additions and 26 deletions.
57 changes: 31 additions & 26 deletions lua/neocomplete/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ config.defaults = {
or require("neocomplete.utils.lsp").get_kind_name(completion_item.kind)
return {
{ { completion_item.label .. " ", "@neocomplete.entry" } },
{ { type_icons[entry_kind] or "", ("@neocomplete.type.%s"):format(entry_kind) } },
{
{
" " .. (type_icons[entry_kind] or type_icons.Text) .. " ",
("@neocomplete.type.%s"):format(entry_kind),
},
},
}
end,
scrollbar = "",
Expand All @@ -31,31 +36,31 @@ config.defaults = {
scrollbar = "",
},
type_icons = {
Class = "",
Color = "",
Constant = "",
Constructor = "",
Enum = "",
EnumMember = "",
Event = "",
Field = " 󰜢 ",
File = " ",
Folder = "",
Function = "",
Interface = "",
Keyword = "",
Method = " ƒ ",
Module = "",
Operator = " 󰆕 ",
Property = "",
Reference = "",
Snippet = "",
Struct = " ",
Text = "",
TypeParameter = "",
Unit = " 󰑭 ",
Value = " 󰎠 ",
Variable = "",
Class = "",
Color = "",
Constant = "",
Constructor = "",
Enum = "",
EnumMember = "",
Event = "",
Field = "󰜢",
File = "",
Folder = "",
Function = "",
Interface = "",
Keyword = "",
Method = "ƒ",
Module = "",
Operator = "󰆕",
Property = "",
Reference = "",
Snippet = "",
Struct = "",
Text = "",
TypeParameter = "",
Unit = "󰑭",
Value = "󰎠",
Variable = "󰫧",
},
ghost_text = true,
},
Expand Down

0 comments on commit 4ce90d9

Please sign in to comment.