From c9f07702f92c467f0b9f7f73aa7291fab5f1140f Mon Sep 17 00:00:00 2001 From: codesoap Date: Wed, 23 Dec 2020 22:45:07 +0100 Subject: [PATCH] file.kak: Acknowledge mime type application/x-shellscript --- rc/detection/file.kak | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/detection/file.kak b/rc/detection/file.kak index c9b2a4042..faf93e6b6 100644 --- a/rc/detection/file.kak +++ b/rc/detection/file.kak @@ -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 ;;