Adding a lot of plugin

This commit is contained in:
2023-12-21 00:40:03 +01:00
parent c39e13a353
commit 9a2bca5f6d
11 changed files with 267 additions and 2 deletions

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
}