From ca4593e5cd02ec34f66909d9c1fb5e554fe61218 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 12 Jun 2023 17:12:24 +1000 Subject: [PATCH] Fix one missing face pre-parsing --- src/highlighters.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;