diff options
Diffstat (limited to 'lua/lsp/vue-ls.lua')
-rw-r--r-- | lua/lsp/vue-ls.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lua/lsp/vue-ls.lua b/lua/lsp/vue-ls.lua index 0f258880..f18fe2ab 100644 --- a/lua/lsp/vue-ls.lua +++ b/lua/lsp/vue-ls.lua @@ -1,5 +1,6 @@ -local lsp = require'lspconfig' -lsp.vuels.setup{ -root_dir = lsp.util.root_pattern(".git",".") +require('lspconfig').vuels.setup { + cmd = {DATA_PATH .. "/lspinstall/vue/node_modules/.bin/vls", "--stdio"}, + on_attach = require'lsp'.common_on_attach, + root_dir = require('lspconfig').util.root_pattern(".git", ".") } |