neovim-config/lua/plugins/lualine-nvim.lua

25 lines
626 B
Lua
Raw Normal View History

2022-10-07 16:20:43 +00:00
require('lualine').setup({
sections = {
lualine_c = {
2023-05-07 17:24:01 +00:00
require('auto-session.lib').current_session_name,
{
'filename',
file_status = true, -- displays file status (readonly status, modified status)
path = 1, -- 0 = just filename, 1 = relative path, 2 = absolute path
},
},
2022-10-24 16:04:40 +00:00
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = { {
'filename',
file_status = true, -- displays file status (readonly status, modified status)
path = 1 -- 0 = just filename, 1 = relative path, 2 = absolute path
} },
lualine_x = { 'location' },
lualine_y = {},
lualine_z = {}
},
2022-10-07 16:20:43 +00:00
})