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:
@@ -77,6 +77,7 @@ gitmodules = text/x-ini
|
|||||||
glsl = x-shader/x-vertex
|
glsl = x-shader/x-vertex
|
||||||
go = text/x-go
|
go = text/x-go
|
||||||
gradle = text/x-groovy
|
gradle = text/x-groovy
|
||||||
|
gradlew = text/x-sh
|
||||||
groovy = text/x-groovy
|
groovy = text/x-groovy
|
||||||
gss = text/x-gss
|
gss = text/x-gss
|
||||||
h = text/x-csrc
|
h = text/x-csrc
|
||||||
|
|||||||
Reference in New Issue
Block a user