addet visual bar to display filename/path and functions and some nesting improvements
This commit is contained in:
parent
33c7007372
commit
a50ea4b1e5
1 changed files with 55 additions and 0 deletions
55
lua/pika/plugins/barbecue.lua
Normal file
55
lua/pika/plugins/barbecue.lua
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
return {
|
||||||
|
"utilyre/barbecue.nvim",
|
||||||
|
name = "barbecue",
|
||||||
|
version = "*",
|
||||||
|
dependencies = {
|
||||||
|
"SmiteshP/nvim-navic",
|
||||||
|
"echasnovski/mini.icons", -- optional dependency
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
theme = {
|
||||||
|
-- this highlight is used to override other highlights
|
||||||
|
-- you can take advantage of its `bg` and set a background throughout your winbar
|
||||||
|
-- (e.g. basename will look like this: { fg = "#c0caf5", bold = true })
|
||||||
|
normal = { fg = "#c0caf5" },
|
||||||
|
|
||||||
|
-- these highlights correspond to symbols table from config
|
||||||
|
ellipsis = { fg = "#737aa2" },
|
||||||
|
separator = { fg = "#737aa2" },
|
||||||
|
modified = { fg = "#737aa2" },
|
||||||
|
|
||||||
|
-- these highlights represent the _text_ of three main parts of barbecue
|
||||||
|
dirname = { fg = "#737aa2" },
|
||||||
|
basename = { bold = true },
|
||||||
|
context = {},
|
||||||
|
|
||||||
|
-- these highlights are used for context/navic icons
|
||||||
|
context_file = { fg = "#ac8fe4" },
|
||||||
|
context_module = { fg = "#ac8fe4" },
|
||||||
|
context_namespace = { fg = "#ac8fe4" },
|
||||||
|
context_package = { fg = "#ac8fe4" },
|
||||||
|
context_class = { fg = "#ac8fe4" },
|
||||||
|
context_method = { fg = "#ac8fe4" },
|
||||||
|
context_property = { fg = "#ac8fe4" },
|
||||||
|
context_field = { fg = "#ac8fe4" },
|
||||||
|
context_constructor = { fg = "#ac8fe4" },
|
||||||
|
context_enum = { fg = "#ac8fe4" },
|
||||||
|
context_interface = { fg = "#ac8fe4" },
|
||||||
|
context_function = { fg = "#ac8fe4" },
|
||||||
|
context_variable = { fg = "#ac8fe4" },
|
||||||
|
context_constant = { fg = "#ac8fe4" },
|
||||||
|
context_string = { fg = "#ac8fe4" },
|
||||||
|
context_number = { fg = "#ac8fe4" },
|
||||||
|
context_boolean = { fg = "#ac8fe4" },
|
||||||
|
context_array = { fg = "#ac8fe4" },
|
||||||
|
context_object = { fg = "#ac8fe4" },
|
||||||
|
context_key = { fg = "#ac8fe4" },
|
||||||
|
context_null = { fg = "#ac8fe4" },
|
||||||
|
context_enum_member = { fg = "#ac8fe4" },
|
||||||
|
context_struct = { fg = "#ac8fe4" },
|
||||||
|
context_event = { fg = "#ac8fe4" },
|
||||||
|
context_operator = { fg = "#ac8fe4" },
|
||||||
|
context_type_parameter = { fg = "#ac8fe4" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue