Added Function Highlighting #102

Open
wants to merge 2 commits into
from

Projects

None yet

3 participants

@seanhess

It was really hard to read files written in a function style:

 one = ->
 two = (asdf) ->

since everything was the default coloring, you couldn't really see the function definitions. Feel free to clean it up, but I think it at least gives the idea.

@bergman
bergman commented Apr 10, 2013

This fails on function calling with a string argument containing equal signs and passed a callback.

Example:
request.get "http://example.com/?s=foo", (err, response, body) ->

WITHOUT this pull request:
Screen Shot 2013-04-10 at 16 14 32

WITH this pull request:
Screen Shot 2013-04-10 at 16 12 41

@maple-leaf
request.get "http://example.com/?s=foo", (err, response, body) ->

I think this might be caused by the = sign in ?s=foo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment