Bind content type text/x-h to text/x-c++hdr

*.h is commonly used for C and C++ sources.  The server's MIME type
recognizer frequently returns text/x-h for *.h files, which CM3's
clike mode does not understand. Remap to the c++hdr type just in case
its a C++ source file and a C file.

Change-Id: I37454147759bbfbcb268690dd8f00ad6bf4a8b32
This commit is contained in:
Shawn Pearce
2013-12-11 15:53:54 -08:00
parent d367fe158e
commit 226ea86d46

View File

@@ -52,4 +52,5 @@ text/xml
application/xml application/xml
application/x-javascript = application/javascript application/x-javascript = application/javascript
text/x-h = text/x-c++hdr
text/x-java-source = text/x-java text/x-java-source = text/x-java