feat(lualine): update to current LazyVim setup
This commit is contained in:
parent
cb5a8240cf
commit
0ae89e817e
@ -1,5 +1,7 @@
|
||||
vim.o.background = "dark"
|
||||
|
||||
local Util = require("lazyvim.util")
|
||||
|
||||
return {
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
@ -48,13 +50,9 @@ return {
|
||||
opts.sections = {
|
||||
lualine_a = { "mode" },
|
||||
lualine_b = {
|
||||
Util.lualine.root_dir(),
|
||||
{ "filetype", icon_only = true, separator = "", padding = { left = 1, right = 0 } },
|
||||
{
|
||||
"filename",
|
||||
path = 1,
|
||||
separator = "",
|
||||
symbols = { modified = " ", readonly = "", unnamed = "" },
|
||||
},
|
||||
{ Util.lualine.pretty_path() },
|
||||
},
|
||||
lualine_c = {
|
||||
{
|
||||
@ -68,14 +66,11 @@ return {
|
||||
},
|
||||
},
|
||||
lualine_x = opts.sections.lualine_x,
|
||||
lualine_z = opts.sections.lualine_y,
|
||||
lualine_y = {
|
||||
{ "fileformat", separator = "", padding = { left = 1, right = 0 } },
|
||||
"encoding",
|
||||
},
|
||||
lualine_z = {
|
||||
"progress",
|
||||
{ "location", padding = { left = 0, right = 1 } },
|
||||
},
|
||||
}
|
||||
end,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user