summaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
authorGokul Soumya2021-06-22 05:10:50 +0000
committerBlaž Hrastnik2021-06-22 05:27:51 +0000
commite0fd08d6df93c7a42289ee9859406077c1dbf638 (patch)
treecee8395961f868ced403c8ca41b3814f2ae1cc49 /helix-term/src/commands.rs
parent753ed4cbc518774bb0331ed032a833a01f952ad1 (diff)
Rename surround to match_mode
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 59aa25ee..6281cfe4 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -256,7 +256,7 @@ impl Command {
view_mode,
left_bracket_mode,
right_bracket_mode,
- surround
+ match_mode
);
}
@@ -3312,7 +3312,7 @@ fn right_bracket_mode(cx: &mut Context) {
})
}
-fn surround(cx: &mut Context) {
+fn match_mode(cx: &mut Context) {
let count = cx.count;
cx.on_next_key(move |cx, event| {
if let KeyEvent {