From 4d453005571511d520a74ee5c12640efa80fb2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 13 May 2021 00:33:10 +0300 Subject: [PATCH] feat(lexers/c): associate with XBM and XPM --- lexers/c/c.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lexers/c/c.go b/lexers/c/c.go index a81e7a8..d8fb7c9 100644 --- a/lexers/c/c.go +++ b/lexers/c/c.go @@ -10,8 +10,8 @@ var C = internal.Register(MustNewLazyLexer( &Config{ Name: "C", Aliases: []string{"c"}, - Filenames: []string{"*.c", "*.h", "*.idc"}, - MimeTypes: []string{"text/x-chdr", "text/x-csrc"}, + Filenames: []string{"*.c", "*.h", "*.idc", "*.x[bp]m"}, + MimeTypes: []string{"text/x-chdr", "text/x-csrc", "image/x-xbitmap", "image/x-xpixmap"}, EnsureNL: true, }, cRules,