summaryrefslogtreecommitdiff
path: root/lua/lsp/ts-fmt-lint.lua
diff options
context:
space:
mode:
authorChris <[email protected]>2021-07-04 22:49:47 -0400
committerChris <[email protected]>2021-07-04 22:49:47 -0400
commit0b251be44cf941cde2d49909b29855e97bc97d45 (patch)
treef379cd9fd2b52223b3338c50ea2dedfb97786743 /lua/lsp/ts-fmt-lint.lua
parentd876d89c303c54e6a0cc3ef211e303f09cb9cb74 (diff)
shelfing null-ls for now, seems to slow things down significantly
Diffstat (limited to 'lua/lsp/ts-fmt-lint.lua')
-rw-r--r--lua/lsp/ts-fmt-lint.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/lsp/ts-fmt-lint.lua b/lua/lsp/ts-fmt-lint.lua
index 5cca9c60..1ebf2e20 100644
--- a/lua/lsp/ts-fmt-lint.lua
+++ b/lua/lsp/ts-fmt-lint.lua
@@ -21,7 +21,7 @@ M.setup = function()
-- init_options = {initializationOptions},
cmd = {DATA_PATH .. "/lspinstall/efm/efm-langserver"},
init_options = {documentFormatting = true, codeAction = false},
- filetypes = {"html", "css", "yaml", "vue"},
+ filetypes = {"html", "css", "yaml", "vue", "javascript", "javascriptreact", "typescript", "typescriptreact"},
settings = {
rootMarkers = {".git/", "package.json"},
languages = {
@@ -29,7 +29,6 @@ M.setup = function()
css = {prettier},
json = {prettier},
yaml = {prettier}
- -- markdown = {markdownPandocFormat, markdownlint},
}
}
}