summaryrefslogtreecommitdiff
path: root/src/selectors.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-12-03 17:06:11 +0800
committerMaxime Coste <mawww@kakoune.org>2017-12-03 17:15:24 +0800
commit73a239d3be33fd7429ee21677649a206f5d683a7 (patch)
tree310987b7f5241f6918a69b369d50345269eb067f /src/selectors.hh
parentc8f5935c48bcafc9f44998b4f6389edc62b4913e (diff)
Text-Objects: Use regex to select surroundings
Fixes #925
Diffstat (limited to 'src/selectors.hh')
-rw-r--r--src/selectors.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selectors.hh b/src/selectors.hh
index 135a99dd..00bc83dd 100644
--- a/src/selectors.hh
+++ b/src/selectors.hh
@@ -109,7 +109,7 @@ void split_selections(SelectionList& selections, const Regex& regex, int capture
Optional<Selection>
select_surrounding(const Context& context, const Selection& selection,
- StringView opening, StringView closing, int level,
+ const Regex& opening, const Regex& closing, int level,
ObjectFlags flags);
}