-- status line
require('hardline').setup({
    bufferline = false,
    theme = 'nord',
    sections = {
        {
            class = 'mode',
            item = require('hardline.parts.mode').get_item,
        },
        {
            class = 'high',
            item = require('hardline.parts.git').get_item,
            hide = 80,
        },
        '%<',
        {
            class = 'med',
            item = require('hardline.parts.filename').get_item,
        },
        {
            class = 'med',
            item = '%=',
        },
        {
            class = 'error',
            item = require('hardline.parts.lsp').get_error,
        },
        {
            class = 'warning',
            item = require('hardline.parts.lsp').get_warning,
        },
        {
            class = 'low',
            item = require('hardline.parts.wordcount').get_item,
            hide = 80,
        },
        {
            class = 'warning',
            item = require('hardline.parts.whitespace').get_item,
        },
        {
            class = 'high',
            item = require('hardline.parts.filetype').get_item,
            hide = 80,
        },
        {
            class = 'mode',
            item = require('hardline.parts.line').get_item,
        },
    },
})
