from packer to lazy

This commit is contained in:
2025-12-17 21:32:34 +07:00
parent 40aee7d3ce
commit 3c21e12bf3
38 changed files with 743 additions and 672 deletions

View File

@@ -1,44 +1,10 @@
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 = ""
},
})
-- VSCodestyle pictograms for Neovim completion items
return {
'onsails/lspkind-nvim',
enabled = true,
lazy = true,
opts = {
mode = 'symbol',
preset = 'default',
}
}