From a50ea4b1e5dd7f5a90d3bfaafa5c7269b4eded00 Mon Sep 17 00:00:00 2001 From: pika Date: Sat, 6 Jul 2024 05:21:15 +0200 Subject: [PATCH] addet visual bar to display filename/path and functions and some nesting improvements --- lua/pika/plugins/barbecue.lua | 55 +++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 lua/pika/plugins/barbecue.lua diff --git a/lua/pika/plugins/barbecue.lua b/lua/pika/plugins/barbecue.lua new file mode 100644 index 0000000..86824d9 --- /dev/null +++ b/lua/pika/plugins/barbecue.lua @@ -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" }, + }, + }, +}