update diagnostic() in default lspconfig.default()

This commit is contained in:
siduck 2024-07-09 10:24:33 +05:30
parent 46088dd73e
commit 0ef037c6db

View File

@ -57,7 +57,7 @@ M.capabilities.textDocument.completion.completionItem = {
M.defaults = function() M.defaults = function()
dofile(vim.g.base46_cache .. "lsp") dofile(vim.g.base46_cache .. "lsp")
require "nvchad.lsp" require ("nvchad.lsp").diagnostic_config()
require("lspconfig").lua_ls.setup { require("lspconfig").lua_ls.setup {
on_attach = M.on_attach, on_attach = M.on_attach,