diff --git a/src/highlighters.cc b/src/highlighters.cc index e56dd108..8c886278 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -19,7 +19,7 @@ namespace Kakoune using namespace std::placeholders; -typedef boost::regex_iterator RegexIterator; +using RegexIterator = boost::regex_iterator; template void highlight_range(DisplayBuffer& display_buffer, @@ -146,7 +146,7 @@ void apply_highlighter(const Context& context, display_buffer.compute_range(); } -typedef std::unordered_map ColorSpec; +using ColorSpec = std::unordered_map; template struct BufferSideCache