Reorganize plugins dir

This commit is contained in:
2023-12-21 01:33:15 +01:00
parent 9a2bca5f6d
commit 309da905e9
15 changed files with 29 additions and 3 deletions

33
lua/plugins/lualine.lua Normal file
View File

@@ -0,0 +1,33 @@
function conf()
--- Ensure plugins are avaiable
local lualine = require("lualine")
local lazy_status = require("lazy.status")
opts = {
options = {
theme = "onedark",
},
sections = {
lualine_x = {
{
lazy_status.updates,
cond = lazy_status.has_updates,
color = { fg = "#ff9e64" },
},
{ "encoding" },
{ "fileformat" },
{ "filetype" },
},
},
}
lualine.setup(opts)
end
return {
'nvim-lualine/lualine.nvim',
dependencies = {
'nvim-tree/nvim-web-devicons', opt = true
},
config = conf
}