support avif for image encode/decode

This commit is contained in:
Yasuhiro Matsumoto
2024-06-14 23:09:53 +09:00
parent def5d57a1a
commit 3fb2f63799

View File

@@ -353,6 +353,8 @@ function! emmet#util#imageEncodeDecode(fn, flag) abort
let ret .= 'jpeg'
elseif hex =~# '^47494638'
let ret .= 'gif'
elseif hex =~# '^00000020667479706176696600000000'
let ret .= 'avif'
else
let ret .= 'unknown'
endif