vim-argwrap/autoload
Camille Dejoye eff4334368 fix: execution order of post hooks
The hooks were executed in the same order regarding of if they were pre
or post hooks.
This is actually not a correct behavior, let's assume we want to create
a hook responsible for keeping the position of the cursor between
operations:
The pre hook will have to extract the current position of the cursor and
therefore should be the first one to be executed, let's say we gave it a
priority 0.
The post hook will have to reposition the cursor after the
transformation and therefore should be the last one to be executed.
That's why we need to reverse the order of the post hooks.
2020-06-13 11:28:30 +02:00
..
argwrap fix: execution order of post hooks 2020-06-13 11:28:30 +02:00
argwrap.vim improvement: generalize the hook system 2020-06-07 15:26:06 +02:00