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 )