vim-coffee-script icon indicating copy to clipboard operation
vim-coffee-script copied to clipboard

Added Function Highlighting

Open seanhess opened this issue 13 years ago • 2 comments

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.

seanhess avatar Sep 20 '12 23:09 seanhess

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

bergman avatar Apr 10 '13 14:04 bergman

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

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

maple-leaf avatar Feb 20 '14 12:02 maple-leaf