I always found Django's approach smart. The configuration files are Python files.

That said, TOML is not unsexy.

I hate JSON as configuration format, it is an exchange format, for configuration TOML is clearly more pleasant. VS Code, Sublime, you are doing it wrong.