dotfiles/.config/nvim/lua/plugins/lualine.lua

27 lines
459 B
Lua
Raw Normal View History

2022-09-10 12:04:50 +02:00
local lualine = require("lualine")
2022-09-10 12:54:25 +02:00
local function clock()
return os.date("%H:%M")
end
2022-09-10 12:04:50 +02:00
lualine.setup({
options = {
globalstatus = true,
2022-09-10 12:43:26 +02:00
theme = "onelight",
component_separators = "",
section_separators = { left = "", right = "" },
2022-09-10 12:04:50 +02:00
},
sections = {
lualine_c = {
{
"filename",
path = 1,
file_status = true,
},
},
2022-09-10 12:54:25 +02:00
lualine_x = { "filetype" },
lualine_y = { "location", "progress" },
lualine_z = { clock },
2022-09-10 12:04:50 +02:00
},
})