aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2018-10-07 16:18:38 +0200
committerJohn Ankarström <john@ankarstrom.se>2018-10-07 16:19:54 +0200
commitd821fed0e1d49a2c32148a5171143c82e18fe94e (patch)
tree000a242b3cfdf5929de47e99ae1fb4f5bfdf14d5 /lua/plugins
parenta4b64c5c396646bb2f14db3b4145a5482a2ff8bf (diff)
downloadvis-d821fed0e1d49a2c32148a5171143c82e18fe94e.tar.gz
vis-d821fed0e1d49a2c32148a5171143c82e18fe94e.tar.xz
vis-lua: add file type detection for executable shell scripts
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/filetype.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/plugins/filetype.lua b/lua/plugins/filetype.lua
index 1f16665..6c574bc 100644
--- 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$" },