vim-coffee-script
vim-coffee-script copied to clipboard
Added Function Highlighting
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.
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:

WITH this pull request:

request.get "http://example.com/?s=foo", (err, response, body) ->
I think this might be caused by the = sign in ?s=foo