Closed aa956 closed 1 week ago
I see, it's schema validation bug and was mentioned in hugo issues too:
https://github.com/gohugoio/hugo/issues/11412
So created a .taplo.toml
in the theme.toml
directory:
[schema]
#path = "./path/to/schema.json"
enabled = false
Error still persist, so looks like the documentation is wrong?
https://taplo.tamasfe.dev/configuration/file.html#schema
Disabling VS Code extension setting worked:
Even Better Toml › Schema: Enabled
I will close this, works for me.
Visual Studio Code with Even Better TOML extension, version 0.19.2.
Shows a lot of errors opening the Hugo theme configuration file generated using
hugo new theme themename
.File
theme.toml
:Errors are the following, repeated 48 times each line (96 error total - this extreme verbosity is probably a separate bug in itself):
What is wrong?
Application using this configuration file does not complain.