summaryrefslogtreecommitdiff
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
parentd876d89c303c54e6a0cc3ef211e303f09cb9cb74 (diff)
shelfing null-ls for now, seems to slow things down significantly
-rw-r--r--lua/lsp/ts-fmt-lint.lua3
-rw-r--r--lua/plugins.lua30
2 files changed, 16 insertions, 17 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},
}
}
}
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 5a67b430..00417b6e 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -432,22 +432,22 @@ return require("packer").startup(function(use)
"typescript",
"typescriptreact",
"typescript.tsx",
- },
- }
- use {
- "jose-elias-alvarez/null-ls.nvim",
- ft = {
- "javascript",
- "javascriptreact",
- "javascript.jsx",
- "typescript",
- "typescriptreact",
- "typescript.tsx",
- },
- config = function()
- require("null-ls").setup()
- end,
+ }
}
+ -- use {
+ -- "jose-elias-alvarez/null-ls.nvim",
+ -- ft = {
+ -- "javascript",
+ -- "javascriptreact",
+ -- "javascript.jsx",
+ -- "typescript",
+ -- "typescriptreact",
+ -- "typescript.tsx",
+ -- },
+ -- config = function()
+ -- require("null-ls").setup()
+ -- end,
+ -- }
-- Tabnine
use {