summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorChris <[email protected]>2021-06-29 13:48:58 -0400
committerChris <[email protected]>2021-06-29 13:48:58 -0400
commit38a0668e4d01e412d40e6d7281346d287aad9c52 (patch)
tree7b01d4926951aad09882b53d818dfc2f396bb07e /lua
parent02865aba7b9477873b87a267b2953a86fd55f978 (diff)
use lsp to format json
Diffstat (limited to 'lua')
-rw-r--r--lua/lsp/efm-general-ls.lua2
1 files changed, 1 insertions, 1 deletions
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 = {