summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2023-08-13 03:10:52 +1000
committerMaxime Coste <mawww@kakoune.org>2023-08-13 03:57:46 +1000
commit0a06d9acbdebf428f4945f0d1575c091a0619b1d (patch)
tree608c39f385f9632d077909d4c6e14bb31772515f /src/normal.cc
parente090131b8705124e8ab78de076f4e8f25ba7746e (diff)
Minor formatting tweaks
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 386eee5b..27c1e47e 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -44,6 +44,7 @@ constexpr auto enum_desc(Meta::Type<SelectMode>)
{ SelectMode::Append, "append" },
});
}
+
void merge_selections(Selection& sel, const Selection& new_sel)
{
const bool forward = sel.cursor() >= sel.anchor();