vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit e872e0db7344e1af65c170a8776f96929f090b41 parent 1c10ea68036c5fde92ecc3ea664b6e4662bd3925 Author: John Ankarström <john@ankarstrom.se> Date: Sun, 7 Oct 2018 16:18:38 +0200 vis-lua: add file type detection for executable shell scripts Diffstat:
| M | lua/plugins/filetype.lua | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua @@ -41,7 +41,7 @@ vis.ftdetect.filetypes = { }, bash = { ext = { "%.bash$", "%.csh$", "%.sh$", "%.zsh$" }, - mime = { "text/x-shellscript" }, + mime = { "text/x-shellscript", "application/x-shellscript" }, }, batch = { ext = { "%.bat$", "%.cmd$" },