Skip to content
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

feat: upgrade to Volar 2.1 #3906

Merged
merged 2 commits into from
Feb 28, 2024
Merged

feat: upgrade to Volar 2.1 #3906

merged 2 commits into from
Feb 28, 2024

Conversation

johnsoncodehk
Copy link
Member

Refs volarjs/volar.js#138, volarjs/services#78

  • Volar 2.1 refactors the handling of indentation for embedded code formatting, now controlled by language tools themselves.

  • Removed volar.format.initialIndent option, replaced with 3 new options:

    • vue.format.template.initialIndent
    • vue.format.script.initialIndent
    • vue.format.style.initialIndent
  • postcss support is now implemented by Vue language tools instead of volar-service-css.

  • Volar removes reverseConfigFilePriority and fullCompletionList options, which are no longer supported by the Vue language server.

  • Volar removes typescript.tsdk, this option is now redefined by the Vue language server.

@johnsoncodehk johnsoncodehk merged commit cd3532d into master Feb 28, 2024
6 checks passed
@johnsoncodehk johnsoncodehk deleted the volar-2.1 branch February 28, 2024 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant