Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Update language-toml #19047
Requirements for Contributing a Bug Fix
Identify the Bug
When more than one key/value pair was on the same line, as is valid in inline tables, language-toml would not know when to stop each value.
Description of the Change
language-toml has been refactored to handle cases where more than one key may exist per line (atom/language-toml#21).
(Note: the version was bumped to 0.20.0 from 0.18.2 as there seems to be an extraneous 0.19.0 tag already present in the repo)
We could have gone for a tree-sitter rewrite instead.
Standalone values, which were invalid TOML to begin with, are no longer supported.
New tests were added, as well as verification on existing TOML files.
language-toml now supports inline tables