mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-09 15:38:12 +01:00
joshuto: Make text preview work for .astro files
This commit is contained in:
parent
6d047a9567
commit
140a71e7d6
@ -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}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user