2022-07-15 11:52:49 +00:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
M.sections = {
|
|
|
|
lualine_a = {
|
|
|
|
function()
|
|
|
|
local ft = vim.opt_local.filetype:get()
|
2022-07-15 11:53:29 +00:00
|
|
|
return (ft == 'Mundo') and 'Change tree' or (ft == 'MundoDiff') and 'Change diff'
|
|
|
|
end,
|
2022-07-15 11:52:49 +00:00
|
|
|
},
|
2022-07-15 11:53:29 +00:00
|
|
|
lualine_y = { 'progress' },
|
|
|
|
lualine_z = { 'location' },
|
2022-07-15 11:52:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
M.filetypes = {
|
2022-07-15 11:53:29 +00:00
|
|
|
'Mundo',
|
|
|
|
'MundoDiff',
|
2022-07-15 11:52:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return M
|