nvim: lualine clock

This commit is contained in:
Daniel Lundin 2022-09-10 12:54:25 +02:00
parent 2efa459e47
commit 70d2e9a4f2

View file

@ -1,4 +1,9 @@
local lualine = require("lualine")
local function clock()
return os.date("%H:%M")
end
lualine.setup({
options = {
globalstatus = true,
@ -14,5 +19,8 @@ lualine.setup({
file_status = true,
},
},
lualine_x = { "filetype" },
lualine_y = { "location", "progress" },
lualine_z = { clock },
},
})