diff --git a/src/highlighters.cc b/src/highlighters.cc index 6a251c36..259181f0 100644 --- a/src/highlighters.cc +++ b/src/highlighters.cc @@ -478,7 +478,7 @@ std::unique_ptr create_line_highlighter(HighlighterParameters param if (params.size() != 2) throw runtime_error("wrong parameter count"); - auto func = [line_expr=params[0], facespec=params[1]] + auto func = [line_expr=params[0], facespec=parse_face(params[1])] (HighlightContext context, DisplayBuffer& display_buffer, BufferRange) { LineCount line = -1;