(neovim) setup inactive sections for lualine, fix file path
This commit is contained in:
parent
065bd6deff
commit
a41004bf83
1 changed files with 11 additions and 1 deletions
|
@ -12,7 +12,7 @@ local lualine_sections = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
lualine_c = {
|
lualine_c = {
|
||||||
{ "filename", file_status = true, path = 1 },
|
{ "filename", file_status = true, path = 3 },
|
||||||
},
|
},
|
||||||
lualine_x = {},
|
lualine_x = {},
|
||||||
lualine_y = {
|
lualine_y = {
|
||||||
|
@ -56,6 +56,16 @@ return {
|
||||||
disabled_filetypes = { statusline = { "snacks_dashboard" } },
|
disabled_filetypes = { statusline = { "snacks_dashboard" } },
|
||||||
},
|
},
|
||||||
sections = lualine_sections,
|
sections = lualine_sections,
|
||||||
|
inactive_sections = {
|
||||||
|
lualine_a = {},
|
||||||
|
lualine_c = {
|
||||||
|
{ "filename", file_status = true, path = 3, shorting_target = 0 },
|
||||||
|
},
|
||||||
|
lualine_b = {},
|
||||||
|
lualine_x = {},
|
||||||
|
lualine_y = {},
|
||||||
|
lualine_z = {},
|
||||||
|
},
|
||||||
tabline = {
|
tabline = {
|
||||||
lualine_a = { "buffers" },
|
lualine_a = { "buffers" },
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue