This is related to my other issue (on begin...rescue blocks), but distinct enough to separate, I think.
At the moment, the handling of complex if...elsif etc. blocks is counter-intuitive. Ideally they would work just as the module...class...do nested blocks in your readme. That is, you could select the entireif block or use ir to narrow in on just part of the larger block. However, because the plugin relies on indentation (I think) to figure out where it is, this doesn't seem possible. There may be nothing to do about it, and you may not want this behavior anyhow, but it might be worth mentioning in the readme (either as a limitation or as a design choice).
This is related to my other issue (on
begin
...rescue
blocks), but distinct enough to separate, I think.At the moment, the handling of complex
if
...elsif
etc. blocks is counter-intuitive. Ideally they would work just as themodule
...class
...do
nested blocks in your readme. That is, you could select the entireif
block or useir
to narrow in on just part of the larger block. However, because the plugin relies on indentation (I think) to figure out where it is, this doesn't seem possible. There may be nothing to do about it, and you may not want this behavior anyhow, but it might be worth mentioning in the readme (either as a limitation or as a design choice).