Skip to content

Commit ba93034

Browse files
authored
Merge pull request #161 from php-school/fix-highlighting
Need to call init to register languages
2 parents e5bcf25 + 8c8b239 commit ba93034

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/config.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,9 @@ function (CgiResult $result) use ($c) {
315315
},
316316

317317
KeyLighter::class => function () {
318-
return new KeyLighter;
318+
$keylighter = new KeyLighter;
319+
$keylighter->init();
320+
return $keylighter;
319321
},
320322

321323
'coreContributors' => [

0 commit comments

Comments
 (0)