diff options
| -rw-r--r-- | init.lua | 2 | ||||
| -rw-r--r-- | lua/lsp/efm-general-ls.lua | 2 | ||||
| -rw-r--r-- | lua/lsp/vue-ls.lua | 5 | 
3 files changed, 7 insertions, 2 deletions
| @@ -48,4 +48,4 @@ require('lsp.svelte-ls')  require('lsp.tailwindcss-ls')  require('lsp.ruby-ls')  require('lsp.kotlin-ls') - +require('lsp.lua-ls') 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",".") +} | 
