mirror of
https://github.com/cheat/cheat.git
synced 2025-09-10 14:02:54 +02:00
chore(deps): update dependencies
This commit is contained in:
12
vendor/github.com/alecthomas/chroma/lexers/r/ragel.go
generated
vendored
12
vendor/github.com/alecthomas/chroma/lexers/r/ragel.go
generated
vendored
@ -6,14 +6,18 @@ import (
|
||||
)
|
||||
|
||||
// Ragel lexer.
|
||||
var Ragel = internal.Register(MustNewLexer(
|
||||
var Ragel = internal.Register(MustNewLazyLexer(
|
||||
&Config{
|
||||
Name: "Ragel",
|
||||
Aliases: []string{"ragel"},
|
||||
Filenames: []string{},
|
||||
MimeTypes: []string{},
|
||||
},
|
||||
Rules{
|
||||
ragelRules,
|
||||
))
|
||||
|
||||
func ragelRules() Rules {
|
||||
return Rules{
|
||||
"whitespace": {
|
||||
{`\s+`, TextWhitespace, nil},
|
||||
},
|
||||
@ -72,5 +76,5 @@ var Ragel = internal.Register(MustNewLexer(
|
||||
{`\{`, Punctuation, Push()},
|
||||
{`\}`, Punctuation, Pop(1)},
|
||||
},
|
||||
},
|
||||
))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user