Skip to content

Commit

Permalink
Merge pull request #109 from bengolds/zero-motions
Browse files Browse the repository at this point in the history
Fixed motions with "0" in them for actions.
  • Loading branch information
Sublime HQ Pty Ltd committed Apr 6, 2012
2 parents 207a828 + e3ab711 commit 8ceecfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vintage.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def on_query_context(self, view, key, operator, operand, match_all):
if operator == sublime.OP_NOT_EQUAL:
return m != g_input_state.motion_mode
elif key == "vi_has_repeat_digit":
if g_input_state.motion_command:
if g_input_state.action_command:
v = len(g_input_state.motion_repeat_digits) > 0
else:
v = len(g_input_state.prefix_repeat_digits) > 0
Expand Down

0 comments on commit 8ceecfc

Please sign in to comment.