nvim: Enable json lsp
This commit is contained in:
parent
f5592b5e85
commit
d2a2537df0
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue