chore(nvim): lualine config
This commit is contained in:
parent
b9bbd3a49d
commit
90ec768ab3
|
@ -22,6 +22,8 @@ require("lualine").setup({
|
|||
options = {
|
||||
icons_enabled = false,
|
||||
theme = "nord",
|
||||
component_separators = "",
|
||||
section_separators = { left = "", right = "" },
|
||||
},
|
||||
sections = {
|
||||
lualine_a = {
|
||||
|
@ -37,7 +39,7 @@ require("lualine").setup({
|
|||
lualine_c = {
|
||||
{
|
||||
"branch",
|
||||
padding = { left = 0 },
|
||||
padding = 1,
|
||||
},
|
||||
-- render coloured output from gitsigns, this doesn't seem to work with b:gitsigns_status:
|
||||
{
|
||||
|
@ -45,21 +47,21 @@ require("lualine").setup({
|
|||
return format_diff_element(vim.b.gitsigns_status_dict.added, "+")
|
||||
end,
|
||||
color = { fg = "#a3be8c" },
|
||||
padding = 0,
|
||||
padding = 1,
|
||||
},
|
||||
{
|
||||
function()
|
||||
return format_diff_element(vim.b.gitsigns_status_dict.changed, "~")
|
||||
end,
|
||||
color = { fg = "#ebcb8b" },
|
||||
padding = 0,
|
||||
padding = 1,
|
||||
},
|
||||
{
|
||||
function()
|
||||
return format_diff_element(vim.b.gitsigns_status_dict.removed, "-")
|
||||
end,
|
||||
color = { fg = "#bf616a" },
|
||||
padding = 0,
|
||||
padding = 1,
|
||||
},
|
||||
{
|
||||
"diagnostics",
|
||||
|
@ -94,7 +96,7 @@ require("lualine").setup({
|
|||
padding = { left = 1, right = 0 },
|
||||
},
|
||||
},
|
||||
lualine_y = { { "progress", padding = { left = 1, right = 0 } } },
|
||||
lualine_y = { { "progress", padding = { left = 1, right = 1 } } },
|
||||
lualine_z = { { "location", padding = { left = 1, right = 1 } } },
|
||||
},
|
||||
inactive_sections = {
|
||||
|
|
Loading…
Reference in New Issue