update diagnostic() in default lspconfig.default()
This commit is contained in:
parent
46088dd73e
commit
0ef037c6db
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user