nvim: Enable json lsp

This commit is contained in:
Marty Oehme 2024-07-20 16:48:54 +02:00
parent f5592b5e85
commit d2a2537df0
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -20,6 +20,7 @@ local servers = {
eslint = {},
gopls = {},
julials = {},
jsonls = {},
ltex = { autostart = false },
lua_ls = {
settings = {
@ -126,7 +127,7 @@ local function on_attach(_, bufnr)
else
vim.diagnostic.disable(0)
end
end, { buffer = bufnr, desc = "Disable buffer diagnostics" })
end, { buffer = bufnr, desc = "Toggle Diagnostics" })
end
-- Display diagnostics as virtual text only if not in insert mode