[#160] add support syntax highlighting for c like languages
This commit is contained in:
parent
7faa9e7699
commit
dc78b978d4
|
@ -11,8 +11,9 @@ Mime::Type.register "text/plain", 'patch'
|
|||
# add rpm spec as mime type for *.spec files
|
||||
[["text/x-python", ['py'], '8bit'],
|
||||
["text/x-rpm-spec", ['spec'], '8bit'],
|
||||
["text/x-csrc", ['h', 'c'], '8bit'],
|
||||
["text/x-c++src", ['cpp'], '8bit'],
|
||||
["application/x-csrc", ['h', 'c'], '8bit'],
|
||||
["application/x-c++src", ['cpp', 'cc'], '8bit'],
|
||||
["application/x-csharp", ['cs'], '8bit'],
|
||||
["text/x-diff", ['diff'], '8bit'],
|
||||
["text/x-markdown", ['md'], '8bit']
|
||||
].each do |type|
|
||||
|
|
Loading…
Reference in New Issue