Map gradlew files to text/x-sh so that they are highlighted

"gradlew" files are almost always shell scripts, so we should
map them to the text/x-sh MIME type to get them highlighted.

Unfortunately CodeMirror doesn't yet have a mode for Windows
Batch Scripts so "gradlew.bat" can't be highlighted.

Change-Id: I600e3a96c5c731cf7d8d95e21bae6f8114fcdd60
This commit is contained in:
Michael Zhou
2016-03-23 23:59:33 -04:00
parent ced45dfa0b
commit 1aa9a912bf

View File

@@ -77,6 +77,7 @@ gitmodules = text/x-ini
glsl = x-shader/x-vertex
go = text/x-go
gradle = text/x-groovy
gradlew = text/x-sh
groovy = text/x-groovy
gss = text/x-gss
h = text/x-csrc