You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are quite a few YAML features not supported by https://github.com/chyh1990/yaml-rust that are mentioned in the issues there, and there seems to be a maintenance problem there also (chyh1990/yaml-rust#160), but I think it is worth calling out that comments are lost. chyh1990/yaml-rust#146 is the upstream issue for that.
The text was updated successfully, but these errors were encountered:
IMO it would be worth adding support for another YAML lib if we can find one which supports comments - probably the libyaml based crates. Then the ymlfxr can choose which sets of yaml features they need.
I am good with figuring out how to preserve comments. The main goal of the project was to format yaml to pass yamllint without doing anything. As long as we meet that I am fine figuring something out.
There are quite a few YAML features not supported by https://github.com/chyh1990/yaml-rust that are mentioned in the issues there, and there seems to be a maintenance problem there also (chyh1990/yaml-rust#160), but I think it is worth calling out that comments are lost. chyh1990/yaml-rust#146 is the upstream issue for that.
The text was updated successfully, but these errors were encountered: