feat(lualine): improved dark theme

This commit is contained in:
Michel 2023-09-29 13:28:07 +02:00
parent 4dde0ad1c4
commit 7605612f90

View File

@ -5,18 +5,31 @@ return {
opts.symbol = ""
end,
},
{
"SmiteshP/nvim-navic",
opts = function(_, opts)
opts.highlight = false
end,
},
{
"nvim-lualine/lualine.nvim",
opts = function(_, opts)
local icons = require("lazyvim.config").icons
opts.options.theme = "codedark"
opts.options.theme = "horizon"
opts.sections = {
lualine_a = { "mode" },
lualine_b = {
{ "filetype", icon_only = true, separator = "", padding = { left = 1, right = 0 } },
{ "filename", path = 1, symbols = { modified = "", readonly = "", unnamed = "" } },
{
"filename",
path = 1,
separator = "",
symbols = { modified = "", readonly = "", unnamed = "" },
},
},
lualine_c = {
{
@ -35,8 +48,14 @@ return {
},
},
lualine_x = opts.sections.lualine_x,
lualine_y = { "fileformat", "encoding" },
lualine_z = { "progress", "location" },
lualine_y = {
{ "fileformat", separator = "", padding = { left = 1, right = 0 } },
"encoding",
},
lualine_z = {
"progress",
{ "location", padding = { left = 0, right = 1 } },
},
}
end,
},