Repository navigation
Use latest Vue LSP and integrate with Typescript LSP - #2097
drevantonder wants to merge 4 commits into
Conversation
1af9e01 to
c27c0cb
Compare
|
bumping this up! would be really great to have this merged. right now lsp support for .vue files is broken. |
|
@thdxr would love to know if/when we can get this merged (or closed if it needs to be). It's currently a tad bit of friction for me to use opencode with Vue in having to use my dev version. (Its alright though, I'll live 😆) |
|
In the meanwhile, in case it helps someone, I created a patch from this PR to quickly apply updates to dev: opencode-vue-lsp.patch Just download and save the patch file, pull the latest dev, then do: Then, run |
f16de3d to
cc0d460
Compare
772b621 to
eb855e1
Compare
f1dc981 to
3e15a39
Compare
f8ee907 to
6a9856d
Compare
00637c0 to
71e0ba2
Compare
f1ae801 to
08fa7f7
Compare
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
In my last PR, I added the Vue LSP (Add Vue LSP and enable eslint for
.vuefiles. #1952).Turns out @vue/language-tools v3 was released 3 weeks ago.
Updates in this PR:
@vue/language-tools v3..vuefiles report TypeScript errors./src/lsp/vue.tsto isolate Vue complexity fromserver.tsandindex.ts.If helpful, here's a minimal test I put together of what it takes to get Vue + Typescript working in isolation: https://gist.github.com/drevantonder/29f70c9629e9234866285c2dab98e021