chore(deps): update dependencies

This commit is contained in:
Chris Lane
2021-04-28 12:23:24 -04:00
parent e847956b02
commit 0aca411279
493 changed files with 16142 additions and 2916 deletions

View File

@ -6,14 +6,18 @@ import (
)
// Pacmanconf lexer.
var Pacmanconf = internal.Register(MustNewLexer(
var Pacmanconf = internal.Register(MustNewLazyLexer(
&Config{
Name: "PacmanConf",
Aliases: []string{"pacmanconf"},
Filenames: []string{"pacman.conf"},
MimeTypes: []string{},
},
Rules{
pacmanconfRules,
))
func pacmanconfRules() Rules {
return Rules{
"root": {
{`#.*$`, CommentSingle, nil},
{`^\s*\[.*?\]\s*$`, Keyword, nil},
@ -22,5 +26,5 @@ var Pacmanconf = internal.Register(MustNewLexer(
{Words(``, `\b`, `$repo`, `$arch`, `%o`, `%u`), NameVariable, nil},
{`.`, Text, nil},
},
},
))
}
}