From 9c79fac1e16b4b63152e584ce9e6c02c68e22c2e Mon Sep 17 00:00:00 2001 From: guillermooo Date: Sun, 22 Apr 2012 22:41:20 +0200 Subject: [PATCH] remove impossible condition --- vintage_motions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vintage_motions.py b/vintage_motions.py index 44f2124..c5f8a8c 100644 --- a/vintage_motions.py +++ b/vintage_motions.py @@ -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).