lesspipe.sh isn't a pager but a preprocessor for less that does syntax highlighting among other things.
https://github.com/wofr06/lesspipe