mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
joshuto: Make previews work for .tsx/.jsx files
This commit is contained in:
parent
10f1388912
commit
73af280971
@ -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}" \
|
||||
|
Loading…
Reference in New Issue
Block a user