Adding Keywords to Hugo Syntax Highlighters

Is there any way to modify the output of Hugo’s syntax highlighter to treat function call names as something that should be colorized?

For example, printf(...) is not currently colorized for c syntax, but I would like it to be. What’s the best way to integrate additional colorized symbols into the syntax highlighter?

No. If it’s a common thing that should be included you could ask “upstream” at the Chroma project, which is Hugos syntax highlighter.

If it’s something that you want for yourself there is no easy way to implement it. you could create your own syntax highlight profile, but then you would have to somehow add it to the Hugo repo-clone and compile your Hugo yourself.

But I guess it might be a bug or feature request upstream worth.