From 0ef037c6db092f0ea627d3f81ce8e7db45e9b187 Mon Sep 17 00:00:00 2001 From: siduck Date: Tue, 9 Jul 2024 10:24:33 +0530 Subject: [PATCH] update diagnostic() in default lspconfig.default() --- lua/nvchad/configs/lspconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvchad/configs/lspconfig.lua b/lua/nvchad/configs/lspconfig.lua index 75ea277..9f4473d 100644 --- a/lua/nvchad/configs/lspconfig.lua +++ b/lua/nvchad/configs/lspconfig.lua @@ -57,7 +57,7 @@ M.capabilities.textDocument.completion.completionItem = { M.defaults = function() dofile(vim.g.base46_cache .. "lsp") - require "nvchad.lsp" + require ("nvchad.lsp").diagnostic_config() require("lspconfig").lua_ls.setup { on_attach = M.on_attach,