You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Get syntax highlighting for LiveScript on GitHub #39
obj =
prop: 1
prop2: 2
void
undefined
yes
no
on
off
16~ff
"The answer is #{2 + 2}"
variable = "world"
"Hello #variable"
heredoc = '''
string can be multiline
with newlines
and go on and on
beginning whitespace is
ignored
'''
Activity
paulmillr commentedon Jun 20, 2012
and to https://bitbucket.org/birkenfeld/pygments-main (bitbucket sucks dong)
paulmillr commentedon Jun 26, 2012
@gkz today is livescript day.
I've made pulls to:
this how it will look like in a bit on gh
gkz commentedon Jun 26, 2012
Great work! Looks awesome. Some things to add to the example:
Post when the pull request for linguist has all tests passing and I'll go +1 it and perhaps post in several places encouraging people to +1 it.
paulmillr commentedon Jun 26, 2012
Done. Single regex works badly because I copied original code from coffeescript lexer and it ain't work there too.
gkz commentedon Jun 26, 2012
Cool stuff!
Just looking at http://gkz.github.com/LiveScript/#literals
satyr commentedon Jun 27, 2012
Note that
!->isn't a single unified operator. You can write e.g.:paulmillr commentedon Aug 11, 2012
finally merged.
clkao commentedon Jun 20, 2013
github seems still using an old pygments: https://github.com/g0v/hack.g0v.tw/blob/master/app/app/hub.ls is not rendering correctly
apaleslimghost commentedon Jun 20, 2013
There is a problem in general with
<[]>arrays.clkao commentedon Jun 20, 2013
but on pygments demo site it rendered fine.