feat(nvim): add barbecue winbar

This commit is contained in:
Stefan Imhoff
2023-11-10 13:00:44 +01:00
parent b247b34f0f
commit 11b29baaea
3 changed files with 60 additions and 43 deletions

View File

@@ -0,0 +1,15 @@
-- barbecue.nvim
-- https://github.com/utilyre/barbecue.nvim
return {
"utilyre/barbecue.nvim",
name = "barbecue",
version = "*",
dependencies = {
"SmiteshP/nvim-navic",
"nvim-tree/nvim-web-devicons",
},
config = function()
require("barbecue").setup()
require("barbecue.ui").toggle(true)
end,
}

View File

@@ -43,11 +43,11 @@ return {
},
{ "filetype", icon_only = true, separator = "", padding = { left = 1, right = 0 } },
{ "filename", path = 1, symbols = { modified = "", readonly = "", unnamed = "" } },
-- stylua: ignore
{
function() return require("nvim-navic").get_location() end,
cond = function() return package.loaded["nvim-navic"] and require("nvim-navic").is_available() end,
},
-- stylua: ignore
-- {
-- function() return require("nvim-navic").get_location() end,
-- cond = function() return package.loaded["nvim-navic"] and require("nvim-navic").is_available() end,
-- },
},
lualine_x = {
{ require("lsp-progress").progress },