1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-25 21:39:02 +02:00

Add lower-case '*.r' glob for R.

This commit is contained in:
Alec Thomas 2017-09-19 11:03:25 +10:00
parent b24f9361ab
commit affaf50c63

View File

@ -9,7 +9,7 @@ var R = Register(MustNewLexer(
&Config{
Name: "R",
Aliases: []string{"splus", "s", "r"},
Filenames: []string{"*.S", "*.R", ".Rhistory", ".Rprofile", ".Renviron"},
Filenames: []string{"*.S", "*.R", "*.r", ".Rhistory", ".Rprofile", ".Renviron"},
MimeTypes: []string{"text/S-plus", "text/S", "text/x-r-source", "text/x-r", "text/x-R", "text/x-r-history", "text/x-r-profile"},
},
Rules{