summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lsp/efm-general-ls.lua2
-rw-r--r--lua/lsp/vue-ls.lua5
2 files changed, 6 insertions, 1 deletions
diff --git a/lua/lsp/efm-general-ls.lua b/lua/lsp/efm-general-ls.lua
index 16f30375..9488afec 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", "sh", "html", "css", "json", "yaml", "markdown"},
+ filetypes = {"lua", "python", "javascriptreact", "javascript", "sh", "html", "css", "json", "yaml", "markdown", "vue"},
settings = {
rootMarkers = {".git/"},
languages = {
diff --git a/lua/lsp/vue-ls.lua b/lua/lsp/vue-ls.lua
new file mode 100644
index 00000000..0f258880
--- /dev/null
+++ b/lua/lsp/vue-ls.lua
@@ -0,0 +1,5 @@
+
+local lsp = require'lspconfig'
+lsp.vuels.setup{
+root_dir = lsp.util.root_pattern(".git",".")
+}