mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-27 13:44:32 +03:00
file.kak: Acknowledge mime type application/x-shellscript
This commit is contained in:
parent
74b6c20a0d
commit
c9f07702f9
@ -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 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user