Skip to content

Commit

Permalink
chore: add 'optional' where applicable (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSast committed May 28, 2023
1 parent fe06ccf commit 8b49fbb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ return {
{ "akinsho/bufferline.nvim", event = "VeryLazy", opts = {} },
{
"rebelot/heirline.nvim",
optional = true,
opts = function(opts) opts.tabline = nil end,
},
}
1 change: 1 addition & 0 deletions lua/astrocommunity/bars-and-lines/feline-nvim/feline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ return {
{ "freddiehaddad/feline.nvim", event = "VeryLazy", opts = {} },
{
"rebelot/heirline.nvim",
optional = true,
opts = function(opts) opts.statusline = nil end,
},
}
1 change: 1 addition & 0 deletions lua/astrocommunity/bars-and-lines/lualine-nvim/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ return {
{ "nvim-lualine/lualine.nvim", event = "VeryLazy", opts = {} },
{
"rebelot/heirline.nvim",
optional = true,
opts = function(opts) opts.statusline = nil end,
},
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ return {
{ "luukvbaal/statuscol.nvim", lazy = false, opts = {} },
{
"rebelot/heirline.nvim",
optional = true,
opts = function(opts) opts.statuscolumn = nil end,
},
}
2 changes: 1 addition & 1 deletion lua/astrocommunity/color/modes-nvim/modes-nvim.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
return {
{ "folke/which-key.nvim", opts = { plugins = { presets = { operators = false } } } },
{ "folke/which-key.nvim", optional = true, opts = { plugins = { presets = { operators = false } } } },
{
"mvllow/modes.nvim",
version = "^0.2",
Expand Down

0 comments on commit 8b49fbb

Please sign in to comment.