fixes lualine settings

This commit is contained in:
Dennis 2025-10-27 12:18:15 +01:00
parent da7da99e82
commit ba2cb2d17d
2 changed files with 50 additions and 6 deletions

View file

@ -1,9 +1,54 @@
local colors = {
black = "#0d0e1c",
white = "#ffffff",
red = "#ef8386",
green = "#88ca9f",
blue = "#82b0ec",
magenta = "#caa6df",
cyan = "#9ac8e0",
gray = "#4a4f69",
darkgray = "#1d2235",
lightgray = "#989898",
}
local modus_vivendi_tinted = {
normal = {
a = { bg = colors.blue, fg = colors.black, gui = "bold" },
b = { bg = colors.darkgray, fg = colors.blue },
c = { bg = colors.darkgray, fg = colors.white },
},
insert = {
a = { bg = colors.cyan, fg = colors.black, gui = "bold" },
b = { bg = colors.darkgray, fg = colors.cyan },
c = { bg = colors.darkgray, fg = colors.white },
},
visual = {
a = { bg = colors.magenta, fg = colors.black, gui = "bold" },
b = { bg = colors.darkgray, fg = colors.magenta },
c = { bg = colors.darkgray, fg = colors.white },
},
replace = {
a = { bg = colors.red, fg = colors.black, gui = "bold" },
b = { bg = colors.darkgray, fg = colors.red },
c = { bg = colors.darkgray, fg = colors.white },
},
command = {
a = { bg = colors.green, fg = colors.black, gui = "bold" },
b = { bg = colors.darkgray, fg = colors.green },
c = { bg = colors.darkgray, fg = colors.white },
},
inactive = {
a = { bg = colors.black, fg = colors.lightgray },
b = { bg = colors.black, fg = colors.lightgray },
c = { bg = colors.black, fg = colors.lightgray },
},
}
return { return {
-- TODO: Fix colorscheme for lualine
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
opts = { opts = {
options = { options = {
theme = "auto", theme = modus_vivendi_tinted,
icons_enabled = false, icons_enabled = false,
-- globalstatus = true -- globalstatus = true
component_separators = { left = "|", right = "|" }, component_separators = { left = "|", right = "|" },
@ -34,11 +79,10 @@ return {
}, },
}, },
"encoding", "encoding",
"filetype",
}, },
lualine_c = {}, lualine_c = {},
lualine_x = {}, lualine_x = {},
lualine_y = { "branch", "diff", "diagnostics", "lsp_status" }, lualine_y = { "branch", "diff", "diagnostics" },
lualine_z = { "progress" }, lualine_z = { "progress" },
}, },
}, },

View file

@ -118,8 +118,8 @@ return {
}, },
{ {
"<leader>wd", "<leader>wd",
"<cmd>bd<cr>", "<cmd>close<cr>",
desc = "Delete buffer and window", desc = "Delete window only",
mode = "n", mode = "n",
}, },