mirror of
https://github.com/cheat/cheat.git
synced 2025-09-02 10:08:30 +02:00
chore(deps): resolve dependency conflict
This commit is contained in:
5
vendor/github.com/alecthomas/chroma/lexers/j/jsx.go
generated
vendored
5
vendor/github.com/alecthomas/chroma/lexers/j/jsx.go
generated
vendored
@ -69,8 +69,9 @@ var JSX = internal.Register(MustNewLexer(
|
||||
Include("root"),
|
||||
},
|
||||
"jsx": {
|
||||
{`(<)([\w]+)`, ByGroups(Punctuation, NameTag), Push("tag")},
|
||||
{`(<)(/)([\w]+)(>)`, ByGroups(Punctuation, Punctuation, NameTag, Punctuation), nil},
|
||||
{`(<)(/?)(>)`, ByGroups(Punctuation, Punctuation, Punctuation), nil},
|
||||
{`(<)([\w\.]+)`, ByGroups(Punctuation, NameTag), Push("tag")},
|
||||
{`(<)(/)([\w\.]+)(>)`, ByGroups(Punctuation, Punctuation, NameTag, Punctuation), nil},
|
||||
},
|
||||
"tag": {
|
||||
{`\s+`, Text, nil},
|
||||
|
Reference in New Issue
Block a user