Added base folke setup

This commit is contained in:
2022-10-09 22:40:29 +02:00
parent 1afab44385
commit efc511cbcf
32 changed files with 2292 additions and 60 deletions

36
lua/plugins/lsp/kind.lua Normal file
View File

@@ -0,0 +1,36 @@
local M = {}
M.icons = {
Class = "",
Color = "",
Constant = "",
Constructor = "",
Enum = "",
EnumMember = "",
Field = "",
File = "",
Folder = "",
Function = "",
Interface = "",
Keyword = "",
Method = "ƒ ",
Module = "",
Property = "",
Snippet = "",
Struct = "",
Text = "",
Unit = "",
Value = "",
Variable = "",
}
function M.cmp_format()
return function(_entry, vim_item)
if M.icons[vim_item.kind] then
vim_item.kind = M.icons[vim_item.kind] .. vim_item.kind
end
return vim_item
end
end
return M