nvim: lualine clock
This commit is contained in:
parent
2efa459e47
commit
70d2e9a4f2
1 changed files with 8 additions and 0 deletions
|
@ -1,4 +1,9 @@
|
||||||
local lualine = require("lualine")
|
local lualine = require("lualine")
|
||||||
|
|
||||||
|
local function clock()
|
||||||
|
return os.date("%H:%M")
|
||||||
|
end
|
||||||
|
|
||||||
lualine.setup({
|
lualine.setup({
|
||||||
options = {
|
options = {
|
||||||
globalstatus = true,
|
globalstatus = true,
|
||||||
|
@ -14,5 +19,8 @@ lualine.setup({
|
||||||
file_status = true,
|
file_status = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
lualine_x = { "filetype" },
|
||||||
|
lualine_y = { "location", "progress" },
|
||||||
|
lualine_z = { clock },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue