aboutsummaryrefslogtreecommitdiff
path: root/lualine.lua
blob: 6ef670dfa3a769626c4989d18cca2041fe8d1b5d (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', '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'}
    },
}