45 lines
903 B
Lua
45 lines
903 B
Lua
require('lspkind').init({
|
|
-- defines how annotations are shown
|
|
-- default: symbol
|
|
-- options: 'text', 'text_symbol', 'symbol_text', 'symbol'
|
|
mode = 'symbol_text',
|
|
|
|
-- default symbol map
|
|
-- can be either 'default' (requires nerd-fonts font) or
|
|
-- 'codicons' for codicon preset (requires vscode-codicons font)
|
|
--
|
|
-- default: 'default'
|
|
preset = 'codicons',
|
|
|
|
-- override preset symbols
|
|
--
|
|
-- default: {}
|
|
symbol_map = {
|
|
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 = ""
|
|
},
|
|
})
|