summaryrefslogtreecommitdiff
path: root/src/highlighters.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-11-02 09:51:15 +0800
committerMaxime Coste <mawww@kakoune.org>2017-11-02 09:51:15 +0800
commit53069bcb2d5138cacd68f329101873187c4e38f0 (patch)
tree78c52c13f1eff79b3c21aaf0255cdcf1539a46a1 /src/highlighters.hh
parent424b2389cbc69d41b8d4302a665340a06d3ebe7c (diff)
Ensure line-specs and range-specs options are sorted internally
Diffstat (limited to 'src/highlighters.hh')
-rw-r--r--src/highlighters.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/highlighters.hh b/src/highlighters.hh
index cae0d63e..69979e32 100644
--- a/src/highlighters.hh
+++ b/src/highlighters.hh
@@ -27,6 +27,7 @@ constexpr StringView option_type_name(Meta::Type<LineAndSpecList>)
return "line-specs";
}
void option_update(LineAndSpecList& opt, const Context& context);
+void option_list_postprocess(Vector<LineAndSpec, MemoryDomain::Options>& opt);
using RangeAndString = std::tuple<InclusiveBufferRange, String>;
using RangeAndStringList = TimestampedList<RangeAndString>;
@@ -36,6 +37,7 @@ constexpr StringView option_type_name(Meta::Type<RangeAndStringList>)
return "range-specs";
}
void option_update(RangeAndStringList& opt, const Context& context);
+void option_list_postprocess(Vector<RangeAndString, MemoryDomain::Options>& opt);
}