Update cmp symbols
This commit is contained in:
parent
65e40c9ab7
commit
94aefb1981
|
@ -37,35 +37,65 @@ cmp.setup({
|
||||||
formatting = {
|
formatting = {
|
||||||
fields = { "kind", "abbr", "menu" },
|
fields = { "kind", "abbr", "menu" },
|
||||||
format = function(entry, vim_item)
|
format = function(entry, vim_item)
|
||||||
|
-- local lspkind_icons = {
|
||||||
|
-- Text = "",
|
||||||
|
-- Method = "",
|
||||||
|
-- Function = "",
|
||||||
|
-- Constructor = "",
|
||||||
|
-- Field = "ﰠ",
|
||||||
|
-- Variable = "",
|
||||||
|
-- Class = "ﴯ",
|
||||||
|
-- Interface = "",
|
||||||
|
-- Module = "",
|
||||||
|
-- Property = "ﰠ",
|
||||||
|
-- Unit = "塞",
|
||||||
|
-- Value = "",
|
||||||
|
-- Enum = "",
|
||||||
|
-- Keyword = "",
|
||||||
|
-- Snippet = "",
|
||||||
|
-- Color = "",
|
||||||
|
-- File = "",
|
||||||
|
-- Reference = "",
|
||||||
|
-- Folder = "",
|
||||||
|
-- EnumMember = "",
|
||||||
|
-- Constant = "",
|
||||||
|
-- Struct = "פּ",
|
||||||
|
-- Event = "",
|
||||||
|
-- Operator = "",
|
||||||
|
-- TypeParameter = " ",
|
||||||
|
-- Robot = "ﮧ",
|
||||||
|
-- Smiley = "ﲃ",
|
||||||
|
-- Note = " ",
|
||||||
|
-- }
|
||||||
|
|
||||||
local lspkind_icons = {
|
local lspkind_icons = {
|
||||||
Text = "",
|
Text = ' ',
|
||||||
Method = "",
|
Method = ' ',
|
||||||
Function = "",
|
Function = ' ',
|
||||||
Constructor = "",
|
Constructor = ' ',
|
||||||
Field = "ﰠ",
|
Field = ' ',
|
||||||
Variable = "",
|
Variable = ' ',
|
||||||
Class = "ﴯ",
|
Class = ' ',
|
||||||
Interface = "",
|
Interface = ' ',
|
||||||
Module = "",
|
Module = ' ',
|
||||||
Property = "ﰠ",
|
Property = ' ',
|
||||||
Unit = "塞",
|
Unit = ' ',
|
||||||
Value = "",
|
Value = ' ',
|
||||||
Enum = "",
|
Enum = ' ',
|
||||||
Keyword = "",
|
Keyword = ' ',
|
||||||
Snippet = "",
|
Snippet = ' ',
|
||||||
Color = "",
|
Color = ' ',
|
||||||
File = "",
|
File = ' ',
|
||||||
Reference = "",
|
Reference = ' ',
|
||||||
Folder = "",
|
Folder = ' ',
|
||||||
EnumMember = "",
|
EnumMember = ' ',
|
||||||
Constant = "",
|
Constant = ' ',
|
||||||
Struct = "פּ",
|
Struct = ' ',
|
||||||
Event = "",
|
Event = ' ',
|
||||||
Operator = "",
|
Operator = ' ',
|
||||||
TypeParameter = " ",
|
TypeParameter = ' ',
|
||||||
Robot = "ﮧ",
|
Smiley = "☺",
|
||||||
Smiley = "ﲃ",
|
Note = "🗈",
|
||||||
Note = " ",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local meta_type = vim_item.kind
|
local meta_type = vim_item.kind
|
||||||
|
|
Loading…
Reference in New Issue