You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
Same problem here. .ts files have application/javascript type for me, and don't natively appear with ctpv with bat but if I add the following the ctpv config file, it works when using ctpv in the terminal, but it seems custom configs like this breaks ctpv for lf, as I then loose even html highlighting through lf.
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
.The text was updated successfully, but these errors were encountered: