1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-24 16:15:38 +03:00

Merge remote-tracking branch 'codesoap/file'

This commit is contained in:
Maxime Coste 2020-12-25 14:15:15 +11:00
commit 291f8a6a85

View File

@ -10,6 +10,7 @@ hook global BufOpenFile .* %{ evaluate-commands %sh{
text/x-script.*) filetype="${mime#text/x-script.}" ;;
text/x-*) filetype="${mime#text/x-}" ;;
text/*) filetype="${mime#text/}" ;;
application/x-shellscript) filetype="sh" ;;
application/x-*) filetype="${mime#application/x-}" ;;
application/*) filetype="${mime#application/}" ;;
*) exit ;;