mirror of
https://github.com/alecthomas/chroma.git
synced 2025-03-17 20:58:08 +02:00
parent
305a0397ac
commit
2a1e1a1bf4
@ -12,6 +12,7 @@ var C = internal.Register(MustNewLexer(
|
||||
Aliases: []string{"c"},
|
||||
Filenames: []string{"*.c", "*.h", "*.idc"},
|
||||
MimeTypes: []string{"text/x-chdr", "text/x-csrc"},
|
||||
EnsureNL: true,
|
||||
},
|
||||
Rules{
|
||||
"whitespace": {
|
||||
|
@ -13,6 +13,7 @@ var Java = internal.Register(MustNewLexer(
|
||||
Filenames: []string{"*.java"},
|
||||
MimeTypes: []string{"text/x-java"},
|
||||
DotAll: true,
|
||||
EnsureNL: true,
|
||||
},
|
||||
Rules{
|
||||
"root": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user