mirror of
https://github.com/cheat/cheat.git
synced 2025-09-10 05:52:53 +02:00
chore(deps): update dependencies
This commit is contained in:
12
vendor/github.com/alecthomas/chroma/lexers/p/puppet.go
generated
vendored
12
vendor/github.com/alecthomas/chroma/lexers/p/puppet.go
generated
vendored
@ -6,14 +6,18 @@ import (
|
||||
)
|
||||
|
||||
// Puppet lexer.
|
||||
var Puppet = internal.Register(MustNewLexer(
|
||||
var Puppet = internal.Register(MustNewLazyLexer(
|
||||
&Config{
|
||||
Name: "Puppet",
|
||||
Aliases: []string{"puppet"},
|
||||
Filenames: []string{"*.pp"},
|
||||
MimeTypes: []string{},
|
||||
},
|
||||
Rules{
|
||||
puppetRules,
|
||||
))
|
||||
|
||||
func puppetRules() Rules {
|
||||
return Rules{
|
||||
"root": {
|
||||
Include("comments"),
|
||||
Include("keywords"),
|
||||
@ -52,5 +56,5 @@ var Puppet = internal.Register(MustNewLexer(
|
||||
{`"([^"])*"`, LiteralString, nil},
|
||||
{`'(\\'|[^'])*'`, LiteralString, nil},
|
||||
},
|
||||
},
|
||||
))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user