bungcip / better-toml

toml extension for vs code editor
74 stars 13 forks source link

Support for inline table #9

Closed danievanzyl closed 6 years ago

danievanzyl commented 6 years ago

https://github.com/toml-lang/toml#inline-table

Currently vscode responds with a parse error on inline tables. Please add support for it.

Thanks!

bungcip commented 6 years ago

Hi @danievanzyl, Can you write the problematic snippet code? using this example:

name = { first = "Tom", last = "Preston-Werner" }
point = { x = 1, y = 2 }

is fine

danievanzyl commented 6 years ago
geo_coordinates = { "lat" = 0.0, "long" = 0.0 }

sorry I'm being an idiot, the keys must not be escaped with "

You may close, thanks.