Use proper buffer filename rather than name in mime.kak
This commit is contained in:
parent
c49e79c9e8
commit
6585000b66
|
@ -1,5 +1,5 @@
|
||||||
decl str mimetype "text/plain"
|
decl str mimetype "text/plain"
|
||||||
|
|
||||||
hook global BufOpen .* %{
|
hook global BufOpen .* %{
|
||||||
set buffer mimetype %sh{file -b --mime-type ${kak_bufname} }
|
set buffer mimetype %sh{file -b --mime-type ${kak_buffile} }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user