use lualine for winbar
This commit is contained in:
parent
4ba64948eb
commit
89b1d53451
@ -17,12 +17,28 @@ if vim.version().minor >= 8 then
|
||||
end
|
||||
|
||||
vim.opt.laststatus = 3
|
||||
vim.opt.winbar = status_line()
|
||||
-- vim.opt.winbar = status_line()
|
||||
require('lualine').setup({
|
||||
options = { theme = 'gruvbox-baby' },
|
||||
sections = { lualine_c = { 'getcwd' } },
|
||||
sections = { lualine_c = { 'getcwd', { 'filename', path = 1, file_status = true } } },
|
||||
inactive_sections = { lualine_c = { 'getcwd', { 'filename', path = 1, file_status = true } } },
|
||||
globalstatus = true,
|
||||
winbar = {
|
||||
lualine_a = {},
|
||||
lualine_b = {},
|
||||
lualine_c = { { 'filename', path = 1, file_status = true } },
|
||||
lualine_x = {},
|
||||
lualine_y = {},
|
||||
lualine_z = {}
|
||||
},
|
||||
inactive_winbar = {
|
||||
lualine_a = {},
|
||||
lualine_b = {},
|
||||
lualine_c = { { 'filename', path = 1, file_status = true } },
|
||||
lualine_x = {},
|
||||
lualine_y = {},
|
||||
lualine_z = {}
|
||||
},
|
||||
})
|
||||
else
|
||||
require('lualine').setup({
|
||||
|
Loading…
x
Reference in New Issue
Block a user