-
Notifications
You must be signed in to change notification settings - Fork 222
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
yaml.format.enable setting has opposed effect #158
Comments
Prettier is the the same formatter that this extension uses as well. I'll look into seeing where the flip would be. |
The fix will be available in the next release! |
@JPinkney It looks more like this setting has no effect at all anymore, judging from this change it seems that the option is no longer recognized by the language server. |
Its fixed as of redhat-developer/yaml-language-server#126 but I have no released yet |
I use prettier to format yaml code. I recently noticed the formatting was wrong. After some digging around, I found out this is because the vscode yaml extension also formats my code, taking precedence over prettier.
When I set
"yaml.format.enable": true
, the code is formatted using prettier. When I set"yaml.format.enable": false
, or the setting is omitted, the code is formatted using the vscode yaml extension.I believe a boolean should be flipped somewhere.
The text was updated successfully, but these errors were encountered: