mirror of
https://github.com/alecthomas/chroma.git
synced 2025-03-19 21:10:15 +02:00
feat(lexers/c): associate with XBM and XPM
This commit is contained in:
parent
14a8abad48
commit
4d45300557
@ -10,8 +10,8 @@ var C = internal.Register(MustNewLazyLexer(
|
|||||||
&Config{
|
&Config{
|
||||||
Name: "C",
|
Name: "C",
|
||||||
Aliases: []string{"c"},
|
Aliases: []string{"c"},
|
||||||
Filenames: []string{"*.c", "*.h", "*.idc"},
|
Filenames: []string{"*.c", "*.h", "*.idc", "*.x[bp]m"},
|
||||||
MimeTypes: []string{"text/x-chdr", "text/x-csrc"},
|
MimeTypes: []string{"text/x-chdr", "text/x-csrc", "image/x-xbitmap", "image/x-xpixmap"},
|
||||||
EnsureNL: true,
|
EnsureNL: true,
|
||||||
},
|
},
|
||||||
cRules,
|
cRules,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user