Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

If key and value are both quoted with the same character, leading equals sign in value gets strange #17

Open
nicktimko opened this issue Dec 6, 2018 · 0 comments

Comments

@nicktimko
Copy link

Some strange edge case probably, but pipenv kicks out strings like "flake8" = "==3.6.0" every so often which triggers it. Doesn't even seem like the GitHub formatter gets it right (some red highlighting on the keyb line for me...)

# nothing to see here
key = "value"
"keya" = "value"

# same quote types
"keyb" = "=value"
'keyc' = '=value'

# differing quote types for key/value
'keyd' = "=value"
"keye" = '=value'

image

Better TOML: 0.3.2
VSCode: 1.29.1
OS: Ubuntu 16.04

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant