Initial commit

* SUPER DUPER BROKEN USELESS STATE RN
This commit is contained in:
simrat39
2021-04-18 18:17:06 -07:00
commit 576d84f0b5
2 changed files with 193 additions and 0 deletions

40
lua/symbols.lua Normal file
View File

@@ -0,0 +1,40 @@
M = {}
M.File = ""
M.Module = ""
M.Namespace = ""
M.Package = ""
M.Class = ""
M.Method = "ƒ"
M.Property = ""
M.Field = ""
M.Constructor = ""
M.Enum = ""
M.Interface = ""
M.Function = ""
M.Variable = ""
M.Constant = ""
M.String = "𝓐"
M.Number = "#"
M.Boolean = ""
M.Array = ""
M.Object = "object"
M.Key = "🔐"
M.Null = "NULL"
M.EnumMember = ""
M.Struct = ""
M.Event = "🗲"
M.Operator = "𝒯"
M.kinds = {
"File", "Module", "Namespace", "Package", "Class", "Method", "Property",
"Field", "Constructor", "Enum", "Interface", "Function", "Variable",
"Constant", "String", "Number", "Boolean", "Array", "Object", "Key", "Null",
"EnumMember", "Struct", "Event", "Operator"
}
function M.icon_from_kind(kind)
return M[M.kinds[kind]]
end
return M