mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
chore(lualine.lua): improve code formatting by aligning comments and adding whitespace for better readability
feat(lualine.lua): add support for molten statusline configuration to enhance statusline customization
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
local lualine = require("lualine")
|
local lualine = require("lualine")
|
||||||
local lazy_status = require("lazy.status") -- to configure lazy pending updates count
|
local lazy_status = require("lazy.status") -- to configure lazy pending updates count
|
||||||
|
local molten_status = require("molten.status") -- to configure molten statusline
|
||||||
|
|
||||||
local colors = {
|
local colors = {
|
||||||
blue = "#65D1FF",
|
blue = "#65D1FF",
|
||||||
@@ -45,7 +46,6 @@ local my_lualine_theme = {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function GetPoetvStatusLine()
|
function GetPoetvStatusLine()
|
||||||
-- Get the poetv statusline
|
-- Get the poetv statusline
|
||||||
-- If poetv is not active, return empty string
|
-- If poetv is not active, return empty string
|
||||||
@@ -80,6 +80,12 @@ lualine.setup({
|
|||||||
},
|
},
|
||||||
sections = {
|
sections = {
|
||||||
lualine_x = {
|
lualine_x = {
|
||||||
|
{
|
||||||
|
molten_status.initialized,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
molten_status.kernels,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
GetPoetvStatusLine,
|
GetPoetvStatusLine,
|
||||||
cond = IsPoetvActive,
|
cond = IsPoetvActive,
|
||||||
|
|||||||
Reference in New Issue
Block a user