Skip to content

Commit

Permalink
Highlight MSBuild project files for C#, F#, and C++ as XML. (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlao committed Jan 2, 2022
1 parent 3bdc3fb commit decf9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lexers/x/xml.go
Expand Up @@ -10,7 +10,7 @@ var XML = internal.Register(MustNewLazyLexer(
&Config{
Name: "XML",
Aliases: []string{"xml"},
Filenames: []string{"*.xml", "*.xsl", "*.rss", "*.xslt", "*.xsd", "*.wsdl", "*.wsf", "*.svg"},
Filenames: []string{"*.xml", "*.xsl", "*.rss", "*.xslt", "*.xsd", "*.wsdl", "*.wsf", "*.svg", "*.csproj", "*.vcxproj", "*.fsproj"},
MimeTypes: []string{"text/xml", "application/xml", "image/svg+xml", "application/rss+xml", "application/atom+xml"},
DotAll: true,
},
Expand Down

0 comments on commit decf9d3

Please sign in to comment.