Use tsserver to drive vue-typescript-plugin (fix Vue file completion)#1791
Use tsserver to drive vue-typescript-plugin (fix Vue file completion)#1791Cheaterman wants to merge 1 commit intoycm-core:masterfrom
Conversation
3532533 to
1ae9112
Compare
|
how can I test this simply? I don't vue |
1ae9112 to
111d396
Compare
|
I think the EDIT: So, the More screenshots with extra usage examplesEDIT2 : Just one more screenshot for good luck :
EDIT3: And in fact a couple more just to demonstrate that it works both with TypeScript enabled and disabled : Making an invalid TypeScript call to Thanks for your patience 😁 |
111d396 to
606cf93
Compare








Everything in the title ; as it currently is, completion in
*.vuefiles is not working - not at all out of the box, and very broken if trying to use modernvue-language-serverthe same way one used to usevolarorvls- I'm not 100% sure but despite it being the same project asvolar/vls(or a fork), I suspect it really expects to be driven throughtsservernowadays - this seems to work perfectly without the user even needing to change anything in their.vimrc.This change is
EDIT: I'm sure in an ideal world there would be a fully separate
build.pyargument for Vue, so that we wouldn't need to "pollute" thetsserver/package.jsonfile with Vue-specific stuff, but I figured it might be overkill and doesn't make a whole lot of difference anyway (~4MB innode_modules).