add untracked files

This commit is contained in:
2023-12-30 00:53:47 +01:00
parent f54c1fca3b
commit c6fc077654
14 changed files with 265 additions and 0 deletions

29
lua/config/lualine.lua Normal file
View File

@@ -0,0 +1,29 @@
--- Ensure plugin is avaiable
local ok, lualine, lazy_status = pcall(function()
return require("lualine"), require("lazy.status")
end)
if not ok then
return
end
--- Plugin options
opts = {
options = {
theme = "onedark",
},
sections = {
lualine_x = {
{
lazy_status.updates,
cond = lazy_status.has_updates,
color = { fg = "#ff9e64" },
},
{ "encoding" },
{ "fileformat" },
{ "filetype" },
},
},
}
--- Load plugin
lualine.setup(opts)