PoiScript / orgize

A Rust library for parsing org-mode files.
https://poiscript.github.io/orgize/
MIT License
278 stars 34 forks source link

Provide preserve-property-order feature using IndexMap. #25

Closed calmofthestorm closed 4 years ago

calmofthestorm commented 4 years ago

This adds the feature preserve-property-order feature (disabled by default) to use IndexMap instead of HashMap to represent the properties drawer. IndexMap uses order of insertion as iteration order, so that properties will be written out in the same order they were in the org file.

For #12

PoiScript commented 4 years ago

Sorry for the delay. I didn't have time to check github until this weekend. Reviewing now.

PoiScript commented 4 years ago

Sorry for the long wait. Merged.