mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nvim): add barbecue winbar
This commit is contained in:
15
nvim/lua/plugins/barbecue.lua
Normal file
15
nvim/lua/plugins/barbecue.lua
Normal 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,
|
||||
}
|
||||
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user