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:
commit
291f8a6a85
@ -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