Hugo themes require a theme.toml configuration file which the Even Better TOML VS Code extension automatically associates with the WordPress theme schema here based on the file name. At least, I believe that is what's happening.
As a result, I'm getting a "version" is a required property error in VS Code for my Hugo theme's theme.toml file.
I'm wondering if there's a way to ignore this, or if any file named theme.toml should even use this schema by default (WP isn't the only framework that uses a theme.toml file so this seems like a premature assumption).
Also happening to me, you could disable the schema feature by adding "evenBetterToml.schema.enabled": false, to settings.json and then disable-enable the plugins.
Hugo themes require a
theme.toml
configuration file which the Even Better TOML VS Code extension automatically associates with the WordPress theme schema here based on the file name. At least, I believe that is what's happening.As a result, I'm getting a
"version" is a required property
error in VS Code for my Hugo theme'stheme.toml
file.I'm wondering if there's a way to ignore this, or if any file named
theme.toml
should even use this schema by default (WP isn't the only framework that uses atheme.toml
file so this seems like a premature assumption).Thoughts?