Clear the "last change" log before we replay a macro, else the "@<macroregister>" will still be in the "last change" log when we execute the macro, which can cause an infinite loop if the macro contains a ".".
author Simon St James
()
committer Simon St James
()
commit 8dd75ffaa8b549fc573d18fcf9ec44f6d7587c97
tree 72ee63a95ed5c607feaebd8e4f7dec9bec79c34c
parent cedc706672e431331087d6b3415bfc5ead1611b1
Clear the "last change" log before we replay a macro, else the "@<macroregister>" will still be in the "last change" log when we execute the macro, which can cause an infinite loop if the macro contains a ".".

Test that we do not record both the "." *and* the "repeat last change" keypresses in a macro (just record the "."). Already passes, weirdly.
part/vimode/katevinormalmode.cpp
tests/vimode_test.cpp