Closed arp242 closed 7 months ago
A TOML table looks like:
[tblname] key = 'value'
You can also use inline tables like so:
[tblname] key = 'value' inline = {key = 'value'}
However, the "inline" would get highlighted as a table (same as "[tblname]") rather than a regular key, which is very jarring and unexpected IMHO.
It looks like it's been like this ever since inline tables were added in #1359, but I don't think anyone really wants this behaviour.
Example of the current behaviour (before this change):
That temp_targets highlighted the same as tables looks really off.
temp_targets
Thank you for your contribution @arp242. LGTM 🚀
A TOML table looks like:
You can also use inline tables like so:
However, the "inline" would get highlighted as a table (same as "[tblname]") rather than a regular key, which is very jarring and unexpected IMHO.
It looks like it's been like this ever since inline tables were added in #1359, but I don't think anyone really wants this behaviour.