joshuto: Make previews work for .tsx/.jsx files

This commit is contained in:
Donovan Glover 2023-12-21 14:00:05 -05:00
parent 10f1388912
commit 73af280971
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -482,7 +482,7 @@
handle_extension() {
case "''${FILE_EXTENSION_LOWER}" in
ts | js | lock)
ts | js | tsx | jsx | lock)
bat --color=always --paging=never \
--style=plain \
--terminal-width="''${PREVIEW_WIDTH}" \