Is it possible to attach client to specific workspace? #149
Unanswered
doganalper
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The easiest solution I can think of is creating a file for volar in your root directory. local lsp = require('lsp-zero')
lsp.preset('recommended')
local root_pattern = require('lspconfig').util.root_pattern
lsp.configure('volar', {
root_dir = root_pattern('package.json', '.volar')
})
lsp.setup() This way Now, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm frontend developer who uses vue on multiple repos and on some I use Volar on some I use Vetur. Is it possible to attach volar on some workspaces and same for vetur?
Beta Was this translation helpful? Give feedback.
All reactions