Small style tweak

This commit is contained in:
Maxime Coste 2018-10-06 10:44:56 +10:00
parent 75a2adb3e5
commit 0d20e57e29

View File

@ -164,7 +164,7 @@ const DisplayBuffer& Window::update_display_buffer(const Context& context)
}
m_display_buffer.compute_range();
BufferRange range{{0,0}, buffer().end_coord()};
const BufferRange range{{0,0}, buffer().end_coord()};
for (auto pass : { HighlightPass::Wrap, HighlightPass::Move, HighlightPass::Colorize })
m_builtin_highlighters.highlight({context, setup, pass, {}}, m_display_buffer, range);