fix yml preview
This commit is contained in:
parent
a4ac8114ef
commit
34f74fe827
1 changed files with 3 additions and 2 deletions
|
@ -65,8 +65,9 @@ mimetest() {
|
|||
text "${CACHE}.txt"
|
||||
;;
|
||||
*/*yaml)
|
||||
[ ! -f "${CACHE}.txt" ] && run yq -C <"$f" >"${CACHE}.txt"
|
||||
text "${CACHE}.txt"
|
||||
# [ ! -f "${CACHE}.txt" ] && run yq -C <"$f" >"${CACHE}.txt"
|
||||
# text "${CACHE}.txt"
|
||||
text
|
||||
;;
|
||||
*/*lua) text ;;
|
||||
*/epub+zip)
|
||||
|
|
Loading…
Add table
Reference in a new issue