]> git.gir.st - VimFx.git/commit
Fix illogical code order in scrolling commands
authorSimon Lydell <simon.lydell@gmail.com>
Wed, 6 Apr 2016 15:53:42 +0000 (17:53 +0200)
committerSimon Lydell <simon.lydell@gmail.com>
Wed, 6 Apr 2016 15:53:42 +0000 (17:53 +0200)
commit645e35d7d82019b0551534c43926bc126e7105bd
treecd67e20e7998c75432d2207e4589ff6ca7f2e2bc
parent561ebb88cb0a17fd5d2b189a93696579a9fe6ee1
Fix illogical code order in scrolling commands

Logically, one should set the `last_position_mark` mark _before_ jumping
somwhere. However, for the `G`, `g`, `$` and `0` commands, the message to set it
was sent _after_ the message to scroll was sent!

Somehow it has still worked as intended for me.

This commit reverses the order.

This might fix #717.
extension/lib/commands.coffee
Imprint / Impressum