Commit 1bd7a21f authored by hjk's avatar hjk
Browse files

fakevim: skip whitespace at the end of 'set' commands

parent db355834
......@@ -2813,7 +2813,7 @@ bool FakeVimHandler::Private::handleExSetCommand(const QString &cmd) // :set
return false;
QString arg = reSet.cap(2);
QString arg = reSet.cap(2).trimmed();
SavedAction *act = theFakeVimSettings()->item(arg);
if (arg.isEmpty()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment