1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-27 02:23:26 +03:00

Use proper buffer filename rather than name in mime.kak

This commit is contained in:
Maxime Coste 2014-02-27 06:43:33 +00:00
parent c49e79c9e8
commit 6585000b66

View File

@ -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} }
}