summaryrefslogtreecommitdiff
path: root/plugin/99_rest.lua
blob: 481c0ff0d006071d6cc6a766e91c0994ffcb6710 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
vim.schedule(
    function()
        vim.diagnostic.config({
            float = { header = "" },
            virtual_text = {
                current_line = true,
                prefix = " ■",
                virt_text_pos = "eol_right_align",
            },
            signs = {
                text = { "●", "●", "●", "●" },
                numhl = {
                    "DiagnosticError",
                    "DiagnosticWarn",
                    "DiagnosticInfo",
                    "DiagnosticHint",
                },
            },
            severity_sort = true,
        })
    end
)