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

fix(yaml): add missing formatting provider #102

Closed
wants to merge 1 commit into from

Conversation

KermanX
Copy link

@KermanX KermanX commented Jul 12, 2024

ls.doFormat has another param with type CustomFormatterOptions, in this PR this is unused - I am not 100% sure about this.

@remcohaszing
Copy link
Member

Thanks for your contribution. We decided to not implement yaml-panguage-servers formatting API, because it’s just a poor wrapper around Prettier 2. If you want to format YAML code with Prettier, you can better use volar-service-prettier.

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.

2 participants