Fix one missing face pre-parsing
This commit is contained in:
parent
6984340936
commit
ca4593e5cd
|
@ -478,7 +478,7 @@ std::unique_ptr<Highlighter> create_line_highlighter(HighlighterParameters param
|
||||||
if (params.size() != 2)
|
if (params.size() != 2)
|
||||||
throw runtime_error("wrong parameter count");
|
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)
|
(HighlightContext context, DisplayBuffer& display_buffer, BufferRange)
|
||||||
{
|
{
|
||||||
LineCount line = -1;
|
LineCount line = -1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user