fix(lsp): don't install jsonls by default. It's part of the json extra

This commit is contained in:
Folke Lemaitre 2023-09-28 11:33:45 +02:00
parent d012a1acb8
commit fa6cbfc602
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -54,7 +54,6 @@ return {
-- LSP Server Settings
---@type lspconfig.options
servers = {
jsonls = {},
lua_ls = {
-- mason = false, -- set to false if you don't want this server to be installed with mason
-- Use this to add any additional keymaps
@ -123,7 +122,7 @@ return {
if opts.inlay_hints.enabled and inlay_hint then
Util.on_attach(function(client, buffer)
if client.supports_method('textDocument/inlayHint') then
if client.supports_method("textDocument/inlayHint") then
inlay_hint(buffer, true)
end
end)