aboutsummaryrefslogtreecommitdiff
path: root/lualine.lua
blob: 42e551f5463c01edc706025cc5df8debe1ff4d43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require('lualine').setup {
    options = {
        theme = 'gruvbox-material',
    },
    sections = {
        lualine_a = {'mode'},
        lualine_b = {'branch'},
        lualine_c = {'diff', 'diagnostics', 'filename', 'g:metals_status'},
        lualine_x = {
            "%{&spell ? 'SPELL' : ''}",
            'encoding', {
                'fileformat',
                symbols = {
                    unix = 'LF',
                    dos = 'CRLF',
                    mac = 'CR',
                },
            },
            'filetype',
        },
        lualine_y = {'progress'},
        lualine_z = {'location'}
    },
}