mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-01 08:35:36 +02:00
Fix vue lsp root_dir configuration (#716)
This commit is contained in:
parent
4a589526bc
commit
ca75cb5a49
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
-- Vue language server configuration (vetur)
|
||||
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", "."),
|
||||
root_dir = require("lspconfig").util.root_pattern(".git", "vue.config.js", "package.json", "yarn.lock"),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue