chore(nvim): turn off jsonls document formatting

This commit is contained in:
Stefan Imhoff
2022-07-22 18:15:06 +02:00
parent 500adafe64
commit 9f59e49c1f

View File

@@ -110,6 +110,11 @@ M.on_attach = function(client, bufnr)
client.resolved_capabilities.document_formatting = false
end
-- JSON
if client.name == "jsonls" then
client.resolved_capabilities.document_formatting = false
end
-- Lua
if client.name == "sumneko_lua" then
client.resolved_capabilities.document_formatting = false