summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/lsp/efm-general-ls.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/lsp/efm-general-ls.lua')
-rw-r--r--.config/nvim/lua/lsp/efm-general-ls.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/nvim/lua/lsp/efm-general-ls.lua b/.config/nvim/lua/lsp/efm-general-ls.lua
index 16f3037..01bc3ee 100644
--- a/.config/nvim/lua/lsp/efm-general-ls.lua
+++ b/.config/nvim/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", "sh", "html", "css", "json", "yaml", "markdown"},
+ filetypes = {"lua", "python", "javascriptreact", "javascript", "typescript","typescriptreact","sh", "html", "css", "json", "yaml", "markdown", "vue"},
settings = {
rootMarkers = {".git/"},
languages = {
@@ -101,6 +101,8 @@ require"lspconfig".efm.setup {
sh = sh_arguments,
javascript = tsserver_args,
javascriptreact = tsserver_args,
+ typescript = tsserver_args,
+ typescriptreact = tsserver_args,
html = {prettier},
css = {prettier},
json = {prettier},