Skip to content

Commit 4d45300

Browse files
scopalecthomas
authored andcommitted
feat(lexers/c): associate with XBM and XPM
1 parent 14a8aba commit 4d45300

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: lexers/c/c.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ var C = internal.Register(MustNewLazyLexer(
1010
&Config{
1111
Name: "C",
1212
Aliases: []string{"c"},
13-
Filenames: []string{"*.c", "*.h", "*.idc"},
14-
MimeTypes: []string{"text/x-chdr", "text/x-csrc"},
13+
Filenames: []string{"*.c", "*.h", "*.idc", "*.x[bp]m"},
14+
MimeTypes: []string{"text/x-chdr", "text/x-csrc", "image/x-xbitmap", "image/x-xpixmap"},
1515
EnsureNL: true,
1616
},
1717
cRules,

0 commit comments

Comments
 (0)