From 6585000b6656b37255f64bcb1d1f8fa5a162f37b Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 27 Feb 2014 06:43:33 +0000 Subject: [PATCH] Use proper buffer filename rather than name in mime.kak --- rc/mime.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} } }