diff options
-rw-r--r-- | lua/lsp/efm-general-ls.lua | 2 | ||||
-rw-r--r-- | lv-config.lua | 1 |
2 files changed, 2 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 = { diff --git a/lv-config.lua b/lv-config.lua index 8b233158..bfbfffc6 100644 --- a/lv-config.lua +++ b/lv-config.lua @@ -72,6 +72,7 @@ O.lang.tsserver.linter = nil O.lang.tsserver.autoformat = true -- json +O.lang.json.active = true O.lang.json.autoformat = true -- ruby |