preservim / nerdcommenter

Vim plugin for intensely nerdy commenting powers
Creative Commons Zero v1.0 Universal
4.99k stars 447 forks source link

Update starkware cairo comments to latest syntax #511

Closed codemedian closed 1 year ago

codemedian commented 1 year ago

Starkware has released updates to the Cairo language where they replaced the # comments with // and in the upcoming 1.0 version, they'll support // as well as /* */ equivalent to Rust.

Cairo 1.0 repository for reference: https://github.com/starkware-libs/cairo

alerque commented 1 year ago

Thanks for taking the time to contribute, and for the documentation so I can review it easily.

Yuck to a language completely changing like this, but that's users problem. I agree this plugin should default to the current supported upstream language spec, and anybody working with exclusively old code can add their own configs for the language.