71 lines
2.1 KiB
Text
71 lines
2.1 KiB
Text
-- return {
|
|
-- "nvim-lualine/lualine.nvim",
|
|
-- dependencies = { "nvim-tree/nvim-web-devicons" },
|
|
-- config = function()
|
|
-- local lualine = require("lualine")
|
|
-- local lazy_status = require("lazy.status") -- to configure lazy pending updates count
|
|
--
|
|
-- local colors = {
|
|
-- blue = "#57a5e5",
|
|
-- green = "#70c2be",
|
|
-- violet = "#aaaaff",
|
|
-- yellow = "#dbb651",
|
|
-- red = "#e75a7c",
|
|
-- fg = "#f1e9dc",
|
|
-- bg = "#31332e",
|
|
-- inactive_bg = "#3a3d37",
|
|
-- }
|
|
--
|
|
-- local my_lualine_theme = {
|
|
-- normal = {
|
|
-- a = { bg = colors.blue, fg = colors.bg, gui = "bold" },
|
|
-- b = { bg = colors.bg, fg = colors.fg },
|
|
-- c = { bg = colors.bg, fg = colors.fg },
|
|
-- },
|
|
-- insert = {
|
|
-- a = { bg = colors.green, fg = colors.bg, gui = "bold" },
|
|
-- b = { bg = colors.bg, fg = colors.fg },
|
|
-- c = { bg = colors.bg, fg = colors.fg },
|
|
-- },
|
|
-- visual = {
|
|
-- a = { bg = colors.violet, fg = colors.bg, gui = "bold" },
|
|
-- b = { bg = colors.bg, fg = colors.fg },
|
|
-- c = { bg = colors.bg, fg = colors.fg },
|
|
-- },
|
|
-- command = {
|
|
-- a = { bg = colors.yellow, fg = colors.bg, gui = "bold" },
|
|
-- b = { bg = colors.bg, fg = colors.fg },
|
|
-- c = { bg = colors.bg, fg = colors.fg },
|
|
-- },
|
|
-- replace = {
|
|
-- a = { bg = colors.red, fg = colors.bg, gui = "bold" },
|
|
-- b = { bg = colors.bg, fg = colors.fg },
|
|
-- c = { bg = colors.bg, fg = colors.fg },
|
|
-- },
|
|
-- inactive = {
|
|
-- a = { bg = colors.inactive_bg, fg = colors.semilightgray, gui = "bold" },
|
|
-- b = { bg = colors.inactive_bg, fg = colors.semilightgray },
|
|
-- c = { bg = colors.inactive_bg, fg = colors.semilightgray },
|
|
-- },
|
|
-- }
|
|
--
|
|
-- -- configure lualine with modified theme
|
|
-- lualine.setup({
|
|
-- options = {
|
|
-- theme = my_lualine_theme,
|
|
-- },
|
|
-- sections = {
|
|
-- lualine_x = {
|
|
-- {
|
|
-- lazy_status.updates,
|
|
-- cond = lazy_status.has_updates,
|
|
-- color = { fg = "#ff9e64" },
|
|
-- },
|
|
-- { "encoding" },
|
|
-- { "fileformat" },
|
|
-- { "filetype" },
|
|
-- },
|
|
-- },
|
|
-- })
|
|
-- end,
|
|
-- }
|