andorsk / d2-mode

emacs major mode for d2 graphs
GNU General Public License v3.0
73 stars 8 forks source link

fix: handling of d2-flags #48

Closed terlar closed 4 months ago

terlar commented 5 months ago

They were only passed to the org babel execution and not to the regular compile file command.

This also converts it to a list instead of a string in order to better fit the call-process function.

andorsk commented 5 months ago

thank you for the improved handling and PR! Will review and hopefully can merge this in!

terlar commented 5 months ago

Thank you, just a heads up, I did change the d2-flags from a string to a list. We could also keep it as a string for backwards compatibility. I guess that is the main "questionable" change.

andorsk commented 4 months ago

@terlar, thanks for being patient. Can we get string-join added in above, and make sure the builds above are fixed? Should be good to go after that.

andorsk commented 4 months ago

note: ci is breaking due to some weird upstream issues, but one from each os ( mac, windows, and ubuntu ) all passed, so I think this is fine.

New issue tagged here: https://github.com/andorsk/d2-mode/issues/49 for this. LGTM, and approved.