From 117edcb78f9e35289564b9227c22c6fd9afd3aed Mon Sep 17 00:00:00 2001 From: keforbes Date: Sat, 9 Mar 2013 18:00:04 -0700 Subject: [PATCH] More cleanup to support partial command names. --- .../vrapper/vim/modes/commandline/CommandLineParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/modes/commandline/CommandLineParser.java b/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/modes/commandline/CommandLineParser.java index 8d0174a5e..37e4d92ff 100644 --- a/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/modes/commandline/CommandLineParser.java +++ b/net.sourceforge.vrapper.core/src/net/sourceforge/vrapper/vim/modes/commandline/CommandLineParser.java @@ -363,8 +363,8 @@ public Command parseAndExecute(String first, String command) { tokens.add("!"); } else { - tokens.set(0, tok.substring(0, tok.length()-1)); - tokens.set(1, "!"); + tokens.add(0, tok.substring(0, tok.length()-1)); + tokens.add(1, "!"); } }