2022-02-23 15:44:33 +01:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
function M.setup()
|
|
|
|
require('lualine').setup({
|
2022-03-10 20:59:18 +01:00
|
|
|
theme = vim.g.lualineTheme,
|
2022-05-16 23:03:35 +02:00
|
|
|
options = {
|
|
|
|
section_separators = {left = '', right = ''},
|
|
|
|
component_separators = {left = '', right = ''}
|
|
|
|
},
|
|
|
|
sections = {
|
|
|
|
lualine_a = {'mode'},
|
|
|
|
lualine_b = {'branch', 'diff', 'diagnostics'},
|
|
|
|
lualine_c = {'filename'},
|
|
|
|
lualine_x = {},
|
|
|
|
lualine_y = {'encoding', 'fileformat', 'filetype'},
|
|
|
|
lualine_z = {'location'}
|
|
|
|
},
|
2022-02-23 15:44:33 +01:00
|
|
|
-- Integration with other plugins
|
|
|
|
extensions = {"nvim-tree"}
|
|
|
|
})
|
|
|
|
end
|
|
|
|
|
|
|
|
return M
|