When evil enters motion/operation/replace state (for example press "y" to initiate yank), the post/pre-command-hook will not be run.
Thus etcc--evil-set-cursor will not be called to update to new cursor-style.
Just hooking around evil-set-cursor is more reliable and exhaustively covers all the case.
When evil enters motion/operation/replace state (for example press "y" to initiate yank), the post/pre-command-hook will not be run. Thus
etcc--evil-set-cursor
will not be called to update to newcursor-style
. Just hooking aroundevil-set-cursor
is more reliable and exhaustively covers all the case.