Request syntax support: man (for setting MANPAGER)
Hello, and thanks again!
Would you consider adding a syntax definition for manpages, for use with a custom MANPAGER
value?
Bat has a sublime-text syntax definition for manpages in its repo, with the suggestion to use:
$ export MANPAGER="sh -c 'col -bx | bat -l man -p'"
and there are alternate MANPAGER
values for greater compatibility discussed here.
I imagine if highlight
had a man
syntax I could use something like:
$ export MANPAGER='sh -c "col -bx | highlight -O truecolor -s navy --stdout -S man | $PAGER"'