php-kilo/src/hldb.php

22 lines
245 B
PHP
Raw Normal View History

2019-10-25 10:28:15 -04:00
<?php declare(strict_types=1);
namespace Kilo;
function get_hldb(): array
{
static $db = [];
if (count($db) === 0)
{
$db = [
Syntax::new(
'c',
['.c', '.h', '.cpp'],
Syntax::HIGHLIGHT_NUMBERS,
),
];
}
return $db;
}