Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

auto-indent after regular expression pattern #63

Closed
polidore opened this Issue · 2 comments

2 participants

@polidore

I've been using the assert.match in vows, and this plugin seems to do the wrong thing with autoindent here.

assert.match 'hello', /^[a-z]+/

when you break the line after that, the vim-coffee-script rules do an autoindent.

but if i do:

assert.equal topic, 'hello'

and break the line, i go to the level of assert. the latter seems the correct behavior.

thoughts?

@kchmck
Owner

Thanks for letting me know about this. It thought the slash was for division, but it should be fixed with 0e1246a.

@polidore

works. thank you!

@polidore polidore closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.