diff --git a/rc/mime.kak b/rc/mime.kak index e0801a18..2e14bd2c 100644 --- a/rc/mime.kak +++ b/rc/mime.kak @@ -1,5 +1,5 @@ decl str mimetype "text/plain" hook global BufOpen .* %{ - set buffer mimetype %sh{file -b --mime-type ${kak_bufname} } + set buffer mimetype %sh{file -b --mime-type ${kak_buffile} } }