Merge branch 'master' of github.com:anstadnik/symbols-outline.nvim

simrat39/symbols-outline.nvim#225
This commit is contained in:
hedy
2023-10-31 20:20:30 +08:00
3 changed files with 27 additions and 27 deletions

View File

@@ -64,24 +64,24 @@ local opts = {
lsp_blacklist = {}, lsp_blacklist = {},
symbol_blacklist = {}, symbol_blacklist = {},
symbols = { symbols = {
File = { icon = "", hl = "@text.uri" }, File = { icon = "󰈔", hl = "@text.uri" },
Module = { icon = "", hl = "@namespace" }, Module = { icon = "󰆧", hl = "@namespace" },
Namespace = { icon = "", hl = "@namespace" }, Namespace = { icon = "󰅪", hl = "@namespace" },
Package = { icon = "", hl = "@namespace" }, Package = { icon = "󰏗", hl = "@namespace" },
Class = { icon = "𝓒", hl = "@type" }, Class = { icon = "𝓒", hl = "@type" },
Method = { icon = "ƒ", hl = "@method" }, Method = { icon = "ƒ", hl = "@method" },
Property = { icon = "", hl = "@method" }, Property = { icon = "", hl = "@method" },
Field = { icon = "", hl = "@field" }, Field = { icon = "󰆨", hl = "@field" },
Constructor = { icon = "", hl = "@constructor" }, Constructor = { icon = "", hl = "@constructor" },
Enum = { icon = "", hl = "@type" }, Enum = { icon = "", hl = "@type" },
Interface = { icon = "", hl = "@type" }, Interface = { icon = "󰜰", hl = "@type" },
Function = { icon = "", hl = "@function" }, Function = { icon = "", hl = "@function" },
Variable = { icon = "", hl = "@constant" }, Variable = { icon = "", hl = "@constant" },
Constant = { icon = "", hl = "@constant" }, Constant = { icon = "", hl = "@constant" },
String = { icon = "𝓐", hl = "@string" }, String = { icon = "𝓐", hl = "@string" },
Number = { icon = "#", hl = "@number" }, Number = { icon = "#", hl = "@number" },
Boolean = { icon = "⊨", hl = "@boolean" }, Boolean = { icon = "⊨", hl = "@boolean" },
Array = { icon = "", hl = "@constant" }, Array = { icon = "󰅪", hl = "@constant" },
Object = { icon = "⦿", hl = "@type" }, Object = { icon = "⦿", hl = "@type" },
Key = { icon = "🔐", hl = "@type" }, Key = { icon = "🔐", hl = "@type" },
Null = { icon = "NULL", hl = "@type" }, Null = { icon = "NULL", hl = "@type" },
@@ -90,8 +90,8 @@ local opts = {
Event = { icon = "🗲", hl = "@type" }, Event = { icon = "🗲", hl = "@type" },
Operator = { icon = "+", hl = "@operator" }, Operator = { icon = "+", hl = "@operator" },
TypeParameter = { icon = "𝙏", hl = "@parameter" }, TypeParameter = { icon = "𝙏", hl = "@parameter" },
Component = { icon = "", hl = "@function" }, Component = { icon = "󰅴", hl = "@function" },
Fragment = { icon = "", hl = "@constant" }, Fragment = { icon = "󰅴", hl = "@constant" },
}, },
} }
``` ```

View File

@@ -86,24 +86,24 @@ Pass a table to the setup call above with your configuration options.
lsp_blacklist = {}, lsp_blacklist = {},
symbol_blacklist = {}, symbol_blacklist = {},
symbols = { symbols = {
File = { icon = "", hl = "@text.uri" }, File = { icon = "󰈔", hl = "@text.uri" },
Module = { icon = "", hl = "@namespace" }, Module = { icon = "󰆧", hl = "@namespace" },
Namespace = { icon = "", hl = "@namespace" }, Namespace = { icon = "󰅪", hl = "@namespace" },
Package = { icon = "", hl = "@namespace" }, Package = { icon = "󰏗", hl = "@namespace" },
Class = { icon = "𝓒", hl = "@type" }, Class = { icon = "𝓒", hl = "@type" },
Method = { icon = "ƒ", hl = "@method" }, Method = { icon = "ƒ", hl = "@method" },
Property = { icon = "", hl = "@method" }, Property = { icon = "", hl = "@method" },
Field = { icon = "", hl = "@field" }, Field = { icon = "󰆨", hl = "@field" },
Constructor = { icon = "", hl = "@constructor" }, Constructor = { icon = "", hl = "@constructor" },
Enum = { icon = "", hl = "@type" }, Enum = { icon = "", hl = "@type" },
Interface = { icon = "", hl = "@type" }, Interface = { icon = "󰜰", hl = "@type" },
Function = { icon = "", hl = "@function" }, Function = { icon = "", hl = "@function" },
Variable = { icon = "", hl = "@constant" }, Variable = { icon = "", hl = "@constant" },
Constant = { icon = "", hl = "@constant" }, Constant = { icon = "", hl = "@constant" },
String = { icon = "𝓐", hl = "@string" }, String = { icon = "𝓐", hl = "@string" },
Number = { icon = "#", hl = "@number" }, Number = { icon = "#", hl = "@number" },
Boolean = { icon = "⊨", hl = "@boolean" }, Boolean = { icon = "⊨", hl = "@boolean" },
Array = { icon = "", hl = "@constant" }, Array = { icon = "󰅪", hl = "@constant" },
Object = { icon = "⦿", hl = "@type" }, Object = { icon = "⦿", hl = "@type" },
Key = { icon = "🔐", hl = "@type" }, Key = { icon = "🔐", hl = "@type" },
Null = { icon = "NULL", hl = "@type" }, Null = { icon = "NULL", hl = "@type" },
@@ -112,8 +112,8 @@ Pass a table to the setup call above with your configuration options.
Event = { icon = "🗲", hl = "@type" }, Event = { icon = "🗲", hl = "@type" },
Operator = { icon = "+", hl = "@operator" }, Operator = { icon = "+", hl = "@operator" },
TypeParameter = { icon = "𝙏", hl = "@parameter" }, TypeParameter = { icon = "𝙏", hl = "@parameter" },
Component = { icon = "", hl = "@function" }, Component = { icon = "󰅴", hl = "@function" },
Fragment = { icon = "", hl = "@constant" }, Fragment = { icon = "󰅴", hl = "@constant" },
}, },
} }
< <

View File

@@ -38,24 +38,24 @@ M.defaults = {
lsp_blacklist = {}, lsp_blacklist = {},
symbol_blacklist = {}, symbol_blacklist = {},
symbols = { symbols = {
File = { icon = '', hl = '@text.uri' }, File = { icon = '󰈔', hl = '@text.uri' },
Module = { icon = '', hl = '@namespace' }, Module = { icon = '󰆧', hl = '@namespace' },
Namespace = { icon = '', hl = '@namespace' }, Namespace = { icon = '󰅪', hl = '@namespace' },
Package = { icon = '', hl = '@namespace' }, Package = { icon = '󰏗', hl = '@namespace' },
Class = { icon = '𝓒', hl = '@type' }, Class = { icon = '𝓒', hl = '@type' },
Method = { icon = 'ƒ', hl = '@method' }, Method = { icon = 'ƒ', hl = '@method' },
Property = { icon = '', hl = '@method' }, Property = { icon = '', hl = '@method' },
Field = { icon = '', hl = '@field' }, Field = { icon = '󰆨', hl = '@field' },
Constructor = { icon = '', hl = '@constructor' }, Constructor = { icon = '', hl = '@constructor' },
Enum = { icon = '', hl = '@type' }, Enum = { icon = '', hl = '@type' },
Interface = { icon = '', hl = '@type' }, Interface = { icon = '󰜰', hl = '@type' },
Function = { icon = '', hl = '@function' }, Function = { icon = '', hl = '@function' },
Variable = { icon = '', hl = '@constant' }, Variable = { icon = '', hl = '@constant' },
Constant = { icon = '', hl = '@constant' }, Constant = { icon = '', hl = '@constant' },
String = { icon = '𝓐', hl = '@string' }, String = { icon = '𝓐', hl = '@string' },
Number = { icon = '#', hl = '@number' }, Number = { icon = '#', hl = '@number' },
Boolean = { icon = '', hl = '@boolean' }, Boolean = { icon = '', hl = '@boolean' },
Array = { icon = '', hl = '@constant' }, Array = { icon = '󰅪', hl = '@constant' },
Object = { icon = '⦿', hl = '@type' }, Object = { icon = '⦿', hl = '@type' },
Key = { icon = '🔐', hl = '@type' }, Key = { icon = '🔐', hl = '@type' },
Null = { icon = 'NULL', hl = '@type' }, Null = { icon = 'NULL', hl = '@type' },
@@ -64,8 +64,8 @@ M.defaults = {
Event = { icon = '🗲', hl = '@type' }, Event = { icon = '🗲', hl = '@type' },
Operator = { icon = '+', hl = '@operator' }, Operator = { icon = '+', hl = '@operator' },
TypeParameter = { icon = '𝙏', hl = '@parameter' }, TypeParameter = { icon = '𝙏', hl = '@parameter' },
Component = { icon = '', hl = '@function' }, Component = { icon = '󰅴', hl = '@function' },
Fragment = { icon = '', hl = '@constant' }, Fragment = { icon = '󰅴', hl = '@constant' },
}, },
} }