Closed hoschi closed 3 years ago
The 'strange' selection is the paragraph, since the next line of some stuff here
is a line without a character.
By default, g:wildfire_objects
is defined as ["ip", "i)", "i]", "i}", "i'", 'i"', "it"]
, so paragraph selection has priority.
If you will not use paragraph selection, use the following configuration.
let g:wildfire_objects = ["i'", 'i"', "i)", "i]", "i}"]
If you just remove the void line, everything works nice.
{
// test paragraph
(
some stuff here
test
)
}
But the behaviour actually looks weird so I will look into the code.
You are right, wildfire behaves somewhat logical ... but not uasable/naturally in this case. I think the selection should never shrink, only grow.
Hi, great plugin! I spotted some strange behaviour. This is my example:
Place the cursor at 'stuff' and start wildfire, now you got:
With the next press to expand the region the last seleced line jumps back to the beginning of the selection which is pretty strange behaviour imho:
I would expect the selection to expand only and never shrink again.