I just noticed ranger supports the highlight app for previewing files in the pager area with syntax highlighting. Very cool addition!
What I'd like to do is use a custom theme from /usr/share/highlight/themes, but ranger
is using ansi output for highlight. This limits highlight to a hard-coded basic theme.
I tried to modify scope.sh to output in "xterm256" mode as opposed to "ansi" but highlight stopped working.
I'm curious if this is something I can easily fix, or if it has more to do with the internal workings of ranger. If so, it's really not a big deal at all.