Open Systemgeek-louis opened 1 year ago
Can you tell me what language is being picked for YAML files? Are they being listed as YAML or something else?
For me it lists YAML files as Ansible normally. I have managed to hack it a bit to get Yaml like so:

Though to be honest I do not remember how I made that happen.
Louis
On Feb 28, 2023, at 11:47, Kevin DeJong @.***> wrote:
Can you tell me what language is being picked for YAML files? Are they being listed as YAML or something else?
https://user-images.githubusercontent.com/36457093/221920496-b06904e9-d117-44be-bc78-71bf4e8ca725.png — Reply to this email directly, view it on GitHub https://github.com/aws-cloudformation/cfn-lint-visual-studio-code/issues/278#issuecomment-1448509525, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGOYCXUYTZ7ZWAZLQA5VLDWZYTZBANCNFSM6AAAAAAVER5NBA. You are receiving this because you authored the thread.
I am running VS Code and already have the Ansible extension running. All my CF templates in YAML are not linted (I am guessing because they are not detected correctly) but my JSON one are. Any suggestions to get YAML detected correctly for both Ansible and cfn-lint??? I would be happy if I could convince the system that .yaml is Ansible and .yml is CF Templates.