vim.diagnostic.config({ virtual_text = false, signs = true, underline = true, update_in_insert = true, severity_sort = false, }) -- hover for diagnostic vim.opt.updatetime = 250 vim.cmd [[autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(bor, {focus=false, border='rounded'})]]