Skip to content

Commit decf9d3

Browse files
authored
Highlight MSBuild project files for C#, F#, and C++ as XML. (#584)
1 parent 3bdc3fb commit decf9d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lexers/x/xml.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var XML = internal.Register(MustNewLazyLexer(
1010
&Config{
1111
Name: "XML",
1212
Aliases: []string{"xml"},
13-
Filenames: []string{"*.xml", "*.xsl", "*.rss", "*.xslt", "*.xsd", "*.wsdl", "*.wsf", "*.svg"},
13+
Filenames: []string{"*.xml", "*.xsl", "*.rss", "*.xslt", "*.xsd", "*.wsdl", "*.wsf", "*.svg", "*.csproj", "*.vcxproj", "*.fsproj"},
1414
MimeTypes: []string{"text/xml", "application/xml", "image/svg+xml", "application/rss+xml", "application/atom+xml"},
1515
DotAll: true,
1616
},

0 commit comments

Comments
 (0)