Skip to content

Commit

Permalink
feat(bars-and-lines): add dropbar.nvim (#246)
Browse files Browse the repository at this point in the history
* feat(bars-and-lines): add dropbar.nvim

* fix: fix incorrect opts functions in plugins
  • Loading branch information
mehalter authored May 31, 2023
1 parent 8b0428b commit 60d92e2
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ return {
{
"rebelot/heirline.nvim",
optional = true,
opts = function(opts) opts.tabline = nil end,
opts = function(_, opts) opts.tabline = nil end,
},
}
7 changes: 7 additions & 0 deletions lua/astrocommunity/bars-and-lines/dropbar-nvim/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# dropbar.nvim

**Repository:** https://github.com/Bekaboo/dropbar.nvim

IDE-like breadcrumbs, out of the box

This also disables the Heirline based winbar
8 changes: 8 additions & 0 deletions lua/astrocommunity/bars-and-lines/dropbar-nvim/dropbar.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
return {
{ "Bekaboo/dropbar.nvim", event = "VeryLazy", opts = {} },
{
"rebelot/heirline.nvim",
optional = true,
opts = function(_, opts) opts.winbar = nil end,
},
}
2 changes: 1 addition & 1 deletion lua/astrocommunity/bars-and-lines/feline-nvim/feline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ return {
{
"rebelot/heirline.nvim",
optional = true,
opts = function(opts) opts.statusline = nil end,
opts = function(_, opts) opts.statusline = nil end,
},
}
2 changes: 1 addition & 1 deletion lua/astrocommunity/bars-and-lines/lualine-nvim/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ return {
{
"rebelot/heirline.nvim",
optional = true,
opts = function(opts) opts.statusline = nil end,
opts = function(_, opts) opts.statusline = nil end,
},
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ return {
{
"rebelot/heirline.nvim",
optional = true,
opts = function(opts) opts.statuscolumn = nil end,
opts = function(_, opts) opts.statuscolumn = nil end,
},
}

0 comments on commit 60d92e2

Please sign in to comment.