-
Notifications
You must be signed in to change notification settings - Fork 327
Closed
Description
Describe the bug
This pattern:
| { pattern: '*.y(a)ml' }, |
Doesn't match .yaml files nor does it match .yml files. This means that if a file has a .yaml or .yml extension but the language is set to something other than YAML (eg. Ansible), then the formatter won't work since it's not registered to work for that file.
Expected Behavior
Any .yaml or .yml file should be able to be formatted using the formatter.
Current Behavior
Some files that have the .yaml extension but use a different language ID (eg. Ansible) cannot be formatted using the formatter.
Steps to Reproduce
See redhat-developer/vscode-yaml#812
Environment
- Windows
- Mac
- Linux
- other (please specify)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done