mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 17:28:50 +02:00
enc: add icons to outline
This commit is contained in:
parent
835b1706b2
commit
d186be6aec
2 changed files with 223 additions and 220 deletions
|
@ -73,36 +73,37 @@ M = {
|
||||||
"rockerBOO/symbols-outline.nvim",
|
"rockerBOO/symbols-outline.nvim",
|
||||||
cmd = "SymbolsOutline",
|
cmd = "SymbolsOutline",
|
||||||
config = function()
|
config = function()
|
||||||
|
local icons = require("pcode.user.icons").kind
|
||||||
require("symbols-outline").setup({
|
require("symbols-outline").setup({
|
||||||
symbols = {
|
symbols = {
|
||||||
File = { icon = "", hl = "@text.uri" },
|
File = { icon = icons.File, hl = "@text.uri" },
|
||||||
Module = { icon = "", hl = "@namespace" },
|
Module = { icon = icons.Module, hl = "@namespace" },
|
||||||
Namespace = { icon = "", hl = "@namespace" },
|
Namespace = { icon = icons.Namespace, hl = "@namespace" },
|
||||||
Package = { icon = "", hl = "@namespace" },
|
Package = { icon = icons.Package, hl = "@namespace" },
|
||||||
Class = { icon = "𝓒", hl = "@type" },
|
Class = { icon = icons.Class, hl = "@type" },
|
||||||
Method = { icon = "ƒ", hl = "@method" },
|
Method = { icon = icons.Method, hl = "@method" },
|
||||||
Property = { icon = "", hl = "@method" },
|
Property = { icon = icons.Property, hl = "@method" },
|
||||||
Field = { icon = "", hl = "@field" },
|
Field = { icon = icons.Field, hl = "@field" },
|
||||||
Constructor = { icon = "", hl = "@constructor" },
|
Constructor = { icon = icons.Constructor, hl = "@constructor" },
|
||||||
Enum = { icon = "ℰ", hl = "@type" },
|
Enum = { icon = icons.Enum, hl = "@type" },
|
||||||
Interface = { icon = "", hl = "@type" },
|
Interface = { icon = icons.Interface, hl = "@type" },
|
||||||
Function = { icon = "", hl = "@function" },
|
Function = { icon = icons.Function, hl = "@function" },
|
||||||
Variable = { icon = "", hl = "@constant" },
|
Variable = { icon = icons.Variable, hl = "@constant" },
|
||||||
Constant = { icon = "", hl = "@constant" },
|
Constant = { icon = icons.Constant, hl = "@constant" },
|
||||||
String = { icon = "𝓐", hl = "@string" },
|
String = { icon = icons.String, hl = "@string" },
|
||||||
Number = { icon = "#", hl = "@number" },
|
Number = { icon = icons.Number, hl = "@number" },
|
||||||
Boolean = { icon = " ", hl = "@boolean" },
|
Boolean = { icon = icons.Boolean, hl = "@boolean" },
|
||||||
Array = { icon = "", hl = "@constant" },
|
Array = { icon = icons.Array, hl = "@constant" },
|
||||||
Object = { icon = "⦿", hl = "@type" },
|
Object = { icon = icons.Object, hl = "@type" },
|
||||||
Key = { icon = "🔐", hl = "@type" },
|
Key = { icon = icons.Key, hl = "@type" },
|
||||||
Null = { icon = "NULL", hl = "@type" },
|
Null = { icon = icons.Null, hl = "@type" },
|
||||||
EnumMember = { icon = "", hl = "@field" },
|
EnumMember = { icon = icons.EnumMember, hl = "@field" },
|
||||||
Struct = { icon = "𝓢", hl = "@type" },
|
Struct = { icon = icons.Struct, hl = "@type" },
|
||||||
Event = { icon = "🗲", hl = "@type" },
|
Event = { icon = icons.Event, hl = "@type" },
|
||||||
Operator = { icon = "+", hl = "@operator" },
|
Operator = { icon = icons.Operator, hl = "@operator" },
|
||||||
TypeParameter = { icon = "𝙏", hl = "@parameter" },
|
TypeParameter = { icon = icons.TypeParameter, hl = "@parameter" },
|
||||||
Component = { icon = "", hl = "@function" },
|
Component = { icon = icons.Component, hl = "@function" },
|
||||||
Fragment = { icon = "", hl = "@constant" },
|
Fragment = { icon = icons.Fragment, hl = "@constant" },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
|
|
|
@ -5,6 +5,7 @@ return {
|
||||||
Codeium = "",
|
Codeium = "",
|
||||||
Control = "",
|
Control = "",
|
||||||
Collapsed = " ",
|
Collapsed = " ",
|
||||||
|
Component = "",
|
||||||
Copilot = "",
|
Copilot = "",
|
||||||
CopilotOff = "",
|
CopilotOff = "",
|
||||||
Folder = "",
|
Folder = "",
|
||||||
|
@ -27,6 +28,7 @@ return {
|
||||||
Enum = "",
|
Enum = "",
|
||||||
Interface = "",
|
Interface = "",
|
||||||
Function = "",
|
Function = "",
|
||||||
|
Fragment = "",
|
||||||
Variable = "",
|
Variable = "",
|
||||||
Constant = "",
|
Constant = "",
|
||||||
String = "",
|
String = "",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue