~theorytoe/synlight

f96fd95bc1fda3bd96c4ac04d6de0196b58d3bac — theorytoe 1 year, 9 months ago 87a7d8a
fix: missing c++ extensions
1 files changed, 2 insertions(+), 0 deletions(-)

M synlight.go
M synlight.go => synlight.go +2 -0
@@ 148,6 148,8 @@ func New(options Options) *Lighter {
	// c++
	hl.AddLexer("cpp", strings.NewReader(lexer_cpp))
	hl.aliases["hpp"] = "cpp"
	hl.aliases["cc"] = "cpp"
	hl.aliases["hh"] = "cpp"

	// go
	hl.AddLexer("go", strings.NewReader(lexer_go))