tnm ยท GitHub

Conversation

@leafo

Copy link Copy Markdown

Contributor

Adds MoonScript to the list of languages.

I didn't add a code sample because I can't run the script to regenerate the database because ruby pygments does not run on my system due to old version of rubypython: pygments/pygments.rb#10

@travisbot

Copy link Copy Markdown

@ajacksified

Copy link Copy Markdown

Moonscript support would be super cool. ๐Ÿ‘

@losinggeneration

Copy link Copy Markdown

Being such a simple addition, why hasn't this been merged?

@etandel

Copy link Copy Markdown

There aren't many of us, but we do exist! Support for MoonScript would be awesome!

@nilnor

Copy link Copy Markdown

This would be very nice, please consider merging this!

@gotosleep

Copy link Copy Markdown

+1

@8bitmcu

Copy link Copy Markdown

This would be great.

@egonSchiele

Copy link Copy Markdown

+1

@chase

Copy link Copy Markdown

I would really like to see this merged!

@GriffinSchneider

Copy link Copy Markdown

๐Ÿ‘

@fillest

Copy link Copy Markdown

Yes please

@leafo

Copy link Copy Markdown

Contributor Author

It's been 4 months since opening this. Is there anything I can do to move this along?

The pygments support is there and it already works fine in any markdown text:

class Thing
  name: "unknown"
class Person extends Thing
  say_name: => print "Hello, I am", @name
with Person!
  .name = "MoonScript"
  \say_name!

I'm not sure what is holding this back but it would be a great to have files highlighted as well.

Thanks

@egonSchiele

Copy link Copy Markdown

another +1

@ajacksified

Copy link Copy Markdown

All the +1s

@tnm

Copy link Copy Markdown

Contributor

Can we get some sample files?

@leafo

Copy link Copy Markdown

Contributor Author

Sample added, anything else?

@tnm

Copy link Copy Markdown

Contributor

@leafo looks good, but you can actually drop the extra

extensions:
  - .moon

part. I'm in process of removing it from everywhere else. Then this should be good to go.

@leafo

Copy link Copy Markdown

Contributor Author

Okay, should be set. Thanks!

@tnm

Copy link Copy Markdown

Contributor

Seems fine.

tnm added a commit that referenced this pull request

Jan 8, 2013
Add MoonScript

@tnm

@etandel

Copy link Copy Markdown

Great! ๐Ÿค˜

Labels

None yet

Read the original on github.com โ†—