Commit e0f6d43b authored by hjk's avatar hjk
Browse files

fakevim: implement [( and ])

parent e99a380a
......@@ -1696,6 +1696,8 @@ EventResult FakeVimHandler::Private::handleOpenSquareSubMode(const Input &input)
m_submode = NoSubMode;
if (input.is('{')) {
searchBalanced(false, '{', '}');
} else if (input.is('(')) {
searchBalanced(false, '(', ')');
} else {
handled = EventUnhandled;
}
......@@ -1708,6 +1710,8 @@ EventResult FakeVimHandler::Private::handleCloseSquareSubMode(const Input &input
m_submode = NoSubMode;
if (input.is('}')) {
searchBalanced(true, '}', '{');
} else if (input.is(')')) {
searchBalanced(true, ')', '(');
} else {
handled = EventUnhandled;
}
......
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