Closed rpendleton closed 8 years ago
The weird thing about these issues is that they do not exist in Sublime Text.
Sublime Text uses YAML.tmLanguage
, which appears to be yaml.tmbundle/Syntaxes/YAML.plist
.
Atom's language-yaml
is converted from yaml.tmbundle
.
Is there something wrong with the conversion process? Or are these two syntax packages not from the same source?
Is there something wrong with the conversion process? Or are these two syntax packages not from the same source?
The tmbundle may have received updates after the package was converted, and those changes probably weren't synced back here.
I think I have the same issue:
I can confirm this bug as well.
@50Wliu and other Atom team members, please give us the conversion tools you used to automatically convert the TextMate syntax bundle to language-yaml.
@szhu The command appears to be apm init --package ~/.atom/packages/<package-name> --convert https://github.com/<repository>
.
Going to look at this after #44 is merged to prevent merge conflicts. The regex for capturing keys is way too lax.
This problem occurs even when the colon is in a comment:
Strings that are part of a sequence are highlighted incorrectly if they contain a colon: