2022-02-23 15:44:33 +01:00
|
|
|
local M = {}
|
|
|
|
|
|
|
|
function M.setup()
|
2022-08-24 13:13:35 +02:00
|
|
|
require('lualine').setup({
|
|
|
|
theme = vim.g.lualineTheme,
|
|
|
|
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_y = { 'filetype' },
|
|
|
|
lualine_z = { 'location' }
|
|
|
|
},
|
|
|
|
-- Integration with other plugins
|
|
|
|
extensions = { "nvim-tree" }
|
|
|
|
})
|
2022-02-23 15:44:33 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
return M
|