Leslie Kerman
2 years ago
7 changed files with 126 additions and 123 deletions
@ -1,94 +1,95 @@ |
|||||
local M = {} |
local M = {} |
||||
function M.config() |
function M.config() |
||||
require("symbols-outline").setup { |
require('symbols-outline').setup() |
||||
highlight_hovered_item = true, |
--require("symbols-outline").setup { |
||||
show_guides = true, |
-- highlight_hovered_item = true, |
||||
auto_preview = true, |
-- show_guides = true, |
||||
position = 'right', |
-- auto_preview = true, |
||||
relative_width = true, |
-- position = 'right', |
||||
width = 20, |
-- relative_width = true, |
||||
auto_close = false, |
-- width = 20, |
||||
show_numbers = false, |
-- auto_close = false, |
||||
show_relative_numbers = false, |
-- show_numbers = false, |
||||
show_symbol_details = true, |
-- show_relative_numbers = false, |
||||
preview_bg_highlight = 'Pmenu', |
-- show_symbol_details = true, |
||||
autofold_depth = nil, |
-- preview_bg_highlight = 'Pmenu', |
||||
auto_unfold_hover = true, |
-- autofold_depth = nil, |
||||
fold_markers = { '', '' }, |
-- auto_unfold_hover = true, |
||||
keymaps = { -- These keymaps can be a string or a table for multiple keys |
-- fold_markers = { '', '' }, |
||||
close = { "<Esc>", "q" }, |
-- keymaps = { -- These keymaps can be a string or a table for multiple keys |
||||
goto_location = "<Cr>", |
-- close = { "<Esc>", "q" }, |
||||
focus_location = "o", |
-- goto_location = "<Cr>", |
||||
hover_symbol = "<C-space>", |
-- focus_location = "o", |
||||
toggle_preview = "K", |
-- hover_symbol = "<C-space>", |
||||
rename_symbol = "r", |
-- toggle_preview = "K", |
||||
code_actions = { "<f12>", "a" }, |
-- rename_symbol = "r", |
||||
fold = "h", |
-- code_actions = { "<f12>", "a" }, |
||||
unfold = "l", |
-- fold = "h", |
||||
fold_all = "H", |
-- unfold = "l", |
||||
unfold_all = "L", |
-- fold_all = "H", |
||||
fold_reset = "R", |
-- unfold_all = "L", |
||||
}, |
-- fold_reset = "R", |
||||
lsp_blacklist = {}, |
-- }, |
||||
symbol_blacklist = {}, |
-- lsp_blacklist = {}, |
||||
--String xxx ctermfg=107 guifg=#a0c980 |
-- symbol_blacklist = {}, |
||||
--Constant xxx ctermfg=179 guifg=#deb974 |
-- --String xxx ctermfg=107 guifg=#a0c980 |
||||
--Character xxx ctermfg=107 guifg=#a0c980 |
-- --Constant xxx ctermfg=179 guifg=#deb974 |
||||
--Number xxx ctermfg=107 guifg=#a0c980 |
-- --Character xxx ctermfg=107 guifg=#a0c980 |
||||
--Boolean xxx ctermfg=107 guifg=#a0c980 |
-- --Number xxx ctermfg=107 guifg=#a0c980 |
||||
--Float xxx ctermfg=107 guifg=#a0c980 |
-- --Boolean xxx ctermfg=107 guifg=#a0c980 |
||||
--Function xxx ctermfg=110 guifg=#6cb6eb |
-- --Float xxx ctermfg=107 guifg=#a0c980 |
||||
--Identifier xxx ctermfg=72 guifg=#5dbbc1 |
-- --Function xxx ctermfg=110 guifg=#6cb6eb |
||||
--Conditional xxx ctermfg=176 guifg=#d38aea |
-- --Identifier xxx ctermfg=72 guifg=#5dbbc1 |
||||
--Statement xxx ctermfg=176 guifg=#d38aea |
-- --Conditional xxx ctermfg=176 guifg=#d38aea |
||||
--Repeat xxx ctermfg=176 guifg=#d38aea |
-- --Statement xxx ctermfg=176 guifg=#d38aea |
||||
--Label xxx ctermfg=179 guifg=#deb974 |
-- --Repeat xxx ctermfg=176 guifg=#d38aea |
||||
--Operator xxx ctermfg=176 guifg=#d38aea |
-- --Label xxx ctermfg=179 guifg=#deb974 |
||||
--Keyword xxx ctermfg=176 guifg=#d38aea |
-- --Operator xxx ctermfg=176 guifg=#d38aea |
||||
--Exception xxx ctermfg=176 guifg=#d38aea |
-- --Keyword xxx ctermfg=176 guifg=#d38aea |
||||
--Include xxx ctermfg=176 guifg=#d38aea |
-- --Exception xxx ctermfg=176 guifg=#d38aea |
||||
--PreProc xxx ctermfg=176 guifg=#d38aea |
-- --Include xxx ctermfg=176 guifg=#d38aea |
||||
--Define xxx ctermfg=176 guifg=#d38aea |
-- --PreProc xxx ctermfg=176 guifg=#d38aea |
||||
--Macro xxx ctermfg=179 guifg=#deb974 |
-- --Define xxx ctermfg=176 guifg=#d38aea |
||||
--PreCondit xxx ctermfg=176 guifg=#d38aea |
-- --Macro xxx ctermfg=179 guifg=#deb974 |
||||
--StorageClass xxx ctermfg=203 guifg=#ec7279 |
-- --PreCondit xxx ctermfg=176 guifg=#d38aea |
||||
--Type xxx ctermfg=203 guifg=#ec7279 |
-- --StorageClass xxx ctermfg=203 guifg=#ec7279 |
||||
--Structure xxx ctermfg=203 guifg=#ec7279 |
-- --Type xxx ctermfg=203 guifg=#ec7279 |
||||
--Typedef xxx ctermfg=176 guifg=#d38aea |
-- --Structure xxx ctermfg=203 guifg=#ec7279 |
||||
--Tag xxx ctermfg=179 guifg=#deb974 |
-- --Typedef xxx ctermfg=176 guifg=#d38aea |
||||
--Special xxx ctermfg=179 guifg=#deb974 |
-- --Tag xxx ctermfg=179 guifg=#deb974 |
||||
--SpecialChar xxx ctermfg=179 guifg=#deb974 |
-- --Special xxx ctermfg=179 guifg=#deb974 |
||||
--Delimiter xxx ctermfg=250 guifg=#c5cdd9 |
-- --SpecialChar xxx ctermfg=179 guifg=#deb974 |
||||
--SpecialComment xxx cterm=italic ctermfg=246 gui=italic guifg=#758094 |
-- --Delimiter xxx ctermfg=250 guifg=#c5cdd9 |
||||
symbols = { |
-- --SpecialComment xxx cterm=italic ctermfg=246 gui=italic guifg=#758094 |
||||
File = { icon = "", hl = "Special" }, |
-- symbols = { |
||||
Module = { icon = "", hl = "Special" }, |
-- File = { icon = "", hl = "Special" }, |
||||
Namespace = { icon = "", hl = "Special" }, |
-- Module = { icon = "", hl = "Special" }, |
||||
Package = { icon = "", hl = "Special" }, |
-- Namespace = { icon = "", hl = "Special" }, |
||||
Class = { icon = "𝓒", hl = "Structure" }, |
-- Package = { icon = "", hl = "Special" }, |
||||
Method = { icon = "ƒ", hl = "Function" }, |
-- Class = { icon = "𝓒", hl = "Structure" }, |
||||
Property = { icon = "", hl = "Identifier" }, |
-- Method = { icon = "ƒ", hl = "Function" }, |
||||
Field = { icon = "", hl = "Identifier" }, |
-- Property = { icon = "", hl = "Identifier" }, |
||||
Constructor = { icon = "", hl = "Function" }, |
-- Field = { icon = "", hl = "Identifier" }, |
||||
Enum = { icon = "ℰ", hl = "Structure" }, |
-- Constructor = { icon = "", hl = "Function" }, |
||||
Interface = { icon = "ﰮ", hl = "Structure" }, |
-- Enum = { icon = "ℰ", hl = "Structure" }, |
||||
Function = { icon = "", hl = "Function" }, |
-- Interface = { icon = "ﰮ", hl = "Structure" }, |
||||
Variable = { icon = "", hl = "Identifier" }, |
-- Function = { icon = "", hl = "Function" }, |
||||
Constant = { icon = "", hl = "Identifier" }, |
-- Variable = { icon = "", hl = "Identifier" }, |
||||
String = { icon = "𝓐", hl = "String" }, |
-- Constant = { icon = "", hl = "Identifier" }, |
||||
Number = { icon = "#", hl = "Number" }, |
-- String = { icon = "𝓐", hl = "String" }, |
||||
Boolean = { icon = "⊨", hl = "Boolean" }, |
-- Number = { icon = "#", hl = "Number" }, |
||||
Array = { icon = "", hl = "Structure" }, |
-- Boolean = { icon = "⊨", hl = "Boolean" }, |
||||
Object = { icon = "⦿", hl = "Structure" }, |
-- Array = { icon = "", hl = "Structure" }, |
||||
Key = { icon = "", hl = "Keyword" }, |
-- Object = { icon = "⦿", hl = "Structure" }, |
||||
Null = { icon = "NULL", hl = "Normal" }, |
-- Key = { icon = "", hl = "Keyword" }, |
||||
EnumMember = { icon = "", hl = "Variable" }, |
-- Null = { icon = "NULL", hl = "Normal" }, |
||||
Struct = { icon = "𝓢", hl = "Structure" }, |
-- EnumMember = { icon = "", hl = "Variable" }, |
||||
Event = { icon = "", hl = "Special" }, |
-- Struct = { icon = "𝓢", hl = "Structure" }, |
||||
Operator = { icon = "+", hl = "Operator" }, |
-- Event = { icon = "", hl = "Special" }, |
||||
TypeParameter = { icon = "𝙏", hl = "Type" } |
-- Operator = { icon = "+", hl = "Operator" }, |
||||
} |
-- TypeParameter = { icon = "𝙏", hl = "Type" } |
||||
} |
-- } |
||||
|
--} |
||||
end |
end |
||||
|
|
||||
return M |
return M |
||||
|
Loading…
Reference in new issue