From 5f26464c7f791d4b6cd44be3670aaca6225fbe33 Mon Sep 17 00:00:00 2001 From: Karim Abou Zeid Date: Thu, 20 Jan 2022 14:23:08 +0100 Subject: [PATCH] feat(jsonls): jsonc filetype support I've verified that the language server also supports jsonc --- lua/lspconfig/server_configurations/jsonls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lspconfig/server_configurations/jsonls.lua b/lua/lspconfig/server_configurations/jsonls.lua index 751702830d..3728b21ee1 100644 --- a/lua/lspconfig/server_configurations/jsonls.lua +++ b/lua/lspconfig/server_configurations/jsonls.lua @@ -10,7 +10,7 @@ end return { default_config = { cmd = cmd, - filetypes = { 'json' }, + filetypes = { 'json', 'jsonc' }, init_options = { provideFormatter = true, },