refactor: replace enabled property with conditional check
This commit is contained in:
@@ -12,7 +12,7 @@ local data = require("data")
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"rebelot/heirline.nvim",
|
"rebelot/heirline.nvim",
|
||||||
enabled = data.func.check_global_var("statusline", "heirline", "lualine"),
|
cond = data.func.check_global_var("statusline", "heirline", "lualine"),
|
||||||
event = "UIEnter",
|
event = "UIEnter",
|
||||||
opts = {},
|
opts = {},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user