forked from Archives/navigator.lua
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.0 KiB
Lua
39 lines
1.0 KiB
Lua
local kind_symbols = {
|
|
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 = '',
|
|
Default = '',
|
|
}
|
|
local CompletionItemKind = {'', 'ƒ', '', '', 'ﴲ', '', '', 'ﰮ', '', '', '', '', '了', '', '', '', '', '', '', '', '', '', 'ﳅ', '', '', ''}
|
|
|
|
function lspkind.kind(kind)
|
|
-- require('vim.lsp.protocol').CompletionItemKind = {'', 'ƒ', '', '', 'ﴲ', '', '', 'ﰮ', '', '', '', '', '了', '', '', '', '', '', '', '', '', '', 'ﳅ', '', '', ''}
|
|
return CompletionItemKind[kind]
|
|
end
|
|
|
|
|
|
|
|
return lspkind
|