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
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

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