Permalink
Browse files

Merge pull request #109 from bengolds/zero-motions

Fixed motions with "0" in them for actions.
  • Loading branch information...
2 parents 207a828 + e3ab711 commit 8ceecfc56408adc1d7ac377e831cfbda633c93a0 @sublimehq sublimehq committed Apr 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 vintage.py
View
@@ -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

0 comments on commit 8ceecfc

Please sign in to comment.