From fa6cbfc6020efcd2168ffe09a209037599b91442 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Thu, 28 Sep 2023 11:33:45 +0200 Subject: [PATCH] fix(lsp): don't install jsonls by default. It's part of the json extra --- lua/lazyvim/plugins/lsp/init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lua/lazyvim/plugins/lsp/init.lua b/lua/lazyvim/plugins/lsp/init.lua index 8c5dc71a..08b9f4b3 100644 --- a/lua/lazyvim/plugins/lsp/init.lua +++ b/lua/lazyvim/plugins/lsp/init.lua @@ -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)