vim.lsp.enable({ 'clangd', 'lua_ls' }) local config = { virtual_text = true, signs = { text = { [vim.diagnostic.severity.ERROR] = '', [vim.diagnostic.severity.WARN] = '', [vim.diagnostic.severity.INFO] = '', [vim.diagnostic.severity.HINT] = '', } }, update_in_insert = true, underline = true, severity_sort = true, float = { focusable = false, style = "normal", border = "rounded", source = "always", header = "", prefix = "", }, } vim.diagnostic.config(config) vim.lsp.buf.hover({ border = "rounded" }) vim.lsp.buf.signature_help({ border = "rounded" }) vim.lsp.enable({ 'clangd', 'luals' })