rcarriga / vim-ultest

The ultimate testing plugin for (Neo)Vim
MIT License
385 stars 15 forks source link

Variable for Where to Split Buffer #97

Closed trisys3 closed 2 years ago

trisys3 commented 2 years ago

This would essentially replace g:ultest_summary_open. Instead of a long, complicated, but versatile command, this would be a variable for opening to the left, right, top or bottom. The name could be bikeshed later, but for purposes of this issue I'll use g:ultest_summary_position.

Basically:

Not sure how this would deal with legacy code. I suppose g:ultest_summary_position could be empty by default, or g:ultest_summary_width could.

rcarriga commented 2 years ago

I don't think I see the need for this. As you've just shown, there is a very simple alternative for each option already, they are not long and complicated. On the other hand, we'd need to handle two conflicting options, as you said, and the new option would be much more limited than the existing one.

trisys3 commented 2 years ago

Hmmm... Do you think a documentation update would be useful? I'm relatively familiar with vimL and was able to hack those up, but someone who's never created a vim plugin before would likely have no idea.

rcarriga commented 2 years ago

Yes I could definitely see docs being the solution here, happy to add them