mirror of
https://github.com/NvChad/NvChad.git
synced 2024-11-10 07:10:44 +00:00
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