aboutsummaryrefslogtreecommitdiff
path: root/lualine.lua
blob: 194281e22305603a7c6c4fbc61eedabdb0bd5d5e (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 = 'tokyonight',
    },
    sections = {
        lualine_a = {'mode'},
        lualine_b = {'branch', 'diff', 'diagnostics' },
        lualine_c = {'filename', 'g:metals_status'},
        lualine_x = {
            "%{&spell ? 'SPELL' : ''}",
            'encoding', {
                'fileformat',
                symbols = {
                    unix = 'LF',
                    dos = 'CRLF',
                    mac = 'CR',
                },
            },
            'filetype',
    },
    lualine_y = {'progress'},
    lualine_z = {'location'}
},
}