feat(lualine): improved dark theme
This commit is contained in:
parent
4dde0ad1c4
commit
7605612f90
|
@ -5,18 +5,31 @@ return {
|
||||||
opts.symbol = "┆"
|
opts.symbol = "┆"
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"SmiteshP/nvim-navic",
|
||||||
|
opts = function(_, opts)
|
||||||
|
opts.highlight = false
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"nvim-lualine/lualine.nvim",
|
"nvim-lualine/lualine.nvim",
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
local icons = require("lazyvim.config").icons
|
local icons = require("lazyvim.config").icons
|
||||||
|
|
||||||
opts.options.theme = "codedark"
|
opts.options.theme = "horizon"
|
||||||
|
|
||||||
opts.sections = {
|
opts.sections = {
|
||||||
lualine_a = { "mode" },
|
lualine_a = { "mode" },
|
||||||
lualine_b = {
|
lualine_b = {
|
||||||
{ "filetype", icon_only = true, separator = "", padding = { left = 1, right = 0 } },
|
{ "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 = {
|
lualine_c = {
|
||||||
{
|
{
|
||||||
|
@ -35,8 +48,14 @@ return {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
lualine_x = opts.sections.lualine_x,
|
lualine_x = opts.sections.lualine_x,
|
||||||
lualine_y = { "fileformat", "encoding" },
|
lualine_y = {
|
||||||
lualine_z = { "progress", "location" },
|
{ "fileformat", separator = "", padding = { left = 1, right = 0 } },
|
||||||
|
"encoding",
|
||||||
|
},
|
||||||
|
lualine_z = {
|
||||||
|
"progress",
|
||||||
|
{ "location", padding = { left = 0, right = 1 } },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue