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