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

26 lines
656 B
Lua
Raw Normal View History

2022-10-07 16:20:43 +00:00
require('lualine').setup({
extensions = { 'drex' },
2022-10-07 16:20:43 +00:00
sections = {
lualine_c = {
require('auto-session-library').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
})