-
When I open a site config for grav cms (like this) VS Code will use 'Ansible Playbook' as schema, but I don't want to use any schema on that file. Who do I disable this behaviuor? I'm so annoyed by this. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
This is because schema store catalog maps |
Beta Was this translation helpful? Give feedback.
-
Just for anyone else looking for how to set the custom mapping, add the following to VSC
|
Beta Was this translation helpful? Give feedback.
-
See also: |
Beta Was this translation helpful? Give feedback.
-
Can we add a menu entry to choose "No schema"? Otherwise the whole editor is full of red underlines, making the file unreadable. I don't want to turn some global setting off since the feature is generally helpful. But if the auto-matching fails, I want to set "No schema" once. |
Beta Was this translation helpful? Give feedback.
-
I ran into this bug today because a file was named |
Beta Was this translation helpful? Give feedback.
This is because schema store catalog maps
site.yaml
to Ansible Playbook. One way to fix this is to setyaml.schemaStore.enable
and disable automatic schema store matching. Alternately you can set the mapping forsite.yaml
explicitly on settings to override the schema store.