From 38a0668e4d01e412d40e6d7281346d287aad9c52 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 29 Jun 2021 13:48:58 -0400 Subject: use lsp to format json --- lua/lsp/efm-general-ls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/lsp/efm-general-ls.lua b/lua/lsp/efm-general-ls.lua index da01db12..d85bc216 100644 --- a/lua/lsp/efm-general-ls.lua +++ b/lua/lsp/efm-general-ls.lua @@ -92,7 +92,7 @@ require"lspconfig".efm.setup { -- init_options = {initializationOptions}, cmd = {DATA_PATH .. "/lspinstall/efm/efm-langserver"}, init_options = {documentFormatting = true, codeAction = false}, - filetypes = {"lua", "python", "javascriptreact", "javascript", "typescript","typescriptreact","sh", "html", "css", "json", "yaml", "markdown", "vue"}, + filetypes = {"lua", "python", "javascriptreact", "javascript", "typescript","typescriptreact","sh", "html", "css", "yaml", "markdown", "vue"}, settings = { rootMarkers = {".git/"}, languages = { -- cgit v1.2.3