Skip to content

Vue language server v3 support #152

@niksy

Description

@niksy

I’m opening this issue so we can track what needs to be done so LSP-vue can support latest Vue language server.

Vue 3 only

I don’t know if there is any way to check for Vue version, but maybe the best way is to use new major version for LSP-vue. They mentioned this to be the case for future 3.1 version; should we also wait for major version bump when 3.1 gets released?

Hybrid mode

Hybrid mode is always on by default and there is no option to disable it anymore.

@predragnikolic made PR to seamlesly activate it for LSP-vue and LSP-typescript so there is no need for end users to configure anything by default

Request/response communication with TS language server

LSP-vue needs to make changes to get cooperation between the Vue language server and TypeScript language server. vtsls is required since TypeScript language server used in LSP-typescript currently doesn’t support typescript.tsserverRequest command, but @rchl opened PR for this, so I guess we can wait until this gets merged so we can resume using LSP-typescript instead of vtsls LSP client such as https://github.com/gxanshu/LSP-vtsls (I don’t know how well it’s maintained).

After that, I’m not sure if there’s still some changes that need to be done on both LSP-vue and LSP-typescript side based on Neovim configuration provided: https://github.com/vuejs/language-tools/wiki/Neovim. Is TS server request/response cycle automatically handled from our side or is there a need for some additional glue code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions