Andrew Radev

Results 225 comments of Andrew Radev

While I wouldn't call it "bad syntax", I think you have a point that the curly brace syntax is more common, particularly for rspec expectations. I'd prefer to split like...

First off, it would be nice to know which language this is :). I'm guessing it's coffeescript, based on the triple quotes. As for the lists -- the only way...

I don't mean that if you try on the square brackets, it would work. I mean that, in order to implement this, I'd need to have some way to detect...

I should have probably responded a lot earlier, sorry about that. To start off, thanks for your kind words regarding `vim-switch`, I'm glad it helped you out :). As for...

In this case, the only way for it to make sense is to work on specific constructs, like if-clauses. Which I can try to implement. As you said, joining is...

I've pushed a fix that should improve the situation. As long as you split from within the curly braces, it should work. This is still not optimal, since, if you...

It's not that easy, I'm afraid. If nothing else, this would be possible in some cases, but not in others, which means the different splittings would work in different positions....

But, as I said, it should not blow up like this. It should simply limit its splitting of ternary clauses. I'll see what I can do about that.

Yeah, that makes sense, I've thought about it myself. I guess it should be a global definition, of which there's currently none. I'll see what I can do about it.

I would be happy to support lisp-like filetypes, but I don't have practical experience with them, so I don't know what kinds of splits and joins would make sense, what...