require('lualine').setup { options = { theme = 'gruvbox-material', }, sections = { lualine_a = {'mode'}, lualine_b = {'branch', 'diff'}, lualine_c = {'diagnostics', { 'filename', path = 3 }, 'g:metals_status'}, lualine_x = { "%{&spell ? 'SPELL' : ''}", 'encoding', { 'fileformat', symbols = { unix = 'LF', dos = 'CRLF', mac = 'CR', }, }, 'filetype', }, lualine_y = {'progress'}, lualine_z = {'location'} }, }