andorsk / d2-mode

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

Comment syntax #41

Closed ashlineldridge closed 1 year ago

ashlineldridge commented 1 year ago

I'm relatively new to D2 but is there a reason d2-mode uses %% for comments rather than the standard #?

andorsk commented 1 year ago

Good question. Comments should be consistent with https://d2lang.com/tour/comments/. This could be a mistake.

andorsk commented 1 year ago

Fixed in https://github.com/andorsk/d2-mode/pull/42 ! Thanks for the contribution!

ashlineldridge commented 1 year ago

@andorsk Thanks for addressing this so quickly! 🙇‍♂️