joshuto: Make text preview work for .astro files

This commit is contained in:
Donovan Glover
2024-02-25 04:58:02 -05:00
parent 6d047a9567
commit 140a71e7d6

View File

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