I have bat installed which works for viewing files such as .js or .ts with syntax highlighting in the terminal. However when using lf with ctpv the preview of these files are not coloured as shown below. I suppose for some reason it is falling back to cat despite the file having the MIME type text/plain.
I have some similar issue when viewing file types such as *.R - text file but not showing preview. Are there options to customize the specific viewer to use, and default back to 'lf' default behavior? thanks
I have
bat
installed which works for viewing files such as.js
or.ts
with syntax highlighting in the terminal. However when usinglf
withctpv
the preview of these files are not coloured as shown below. I suppose for some reason it is falling back tocat
despite the file having the MIME typetext/plain
.