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:
parent
c49e79c9e8
commit
6585000b66
@ -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} }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user