Skip to content

Commit

Permalink
remove impossible condition
Browse files Browse the repository at this point in the history
  • Loading branch information
guillermooo committed Apr 22, 2012
1 parent 349fdba commit 9c79fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vintage_motions.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def expand_to_quote(self, character, r):
# No quoted text --do nothing (Vim).
# TODO: Vintage will enter insert mode after this, whereas it should
# stay in command mode as Vim does.
if not closing_quote or closing_quote == -1:
if closing_quote == -1:
return r

# Quoted text is before the caret --do nothing (Vim).
Expand Down

0 comments on commit 9c79fac

Please sign in to comment.