Skip to content

feat: add languages to ts servers plugin settings #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sacki5
Copy link

@sacki5 sacki5 commented May 7, 2025

This will make it possible to use the Vue plugin in hybrid mode which is the recommended way since v2 of vue language tools. Also the hybrid mode setting will be deprectated in v3 of vue language tools.

This pr will make it easier to enable hybrid mode but will still need some additional settings.

// Settings to enable hybrid mode. (after this pr)
{
  "languages": {
    "Vue.js": {
      "language_servers": [
        "vtsls",
        "..."
      ]
    }
  },
  "lsp": {
    "vue-language-server": {
      "initialization_options": {
        "vue": {
          "hybridMode": true
        }
      }
    },
  },
}

Would be neat that in the future to be able to have the hybrid mode as default and work out of the box after you install the Vue plugin.

@cla-bot cla-bot bot added the cla-signed label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant