Use vendored modules
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/aya/trunk@67 cec141ff-132a-4243-88a5-ce187bd62f94
This commit is contained in:
16
vendor/github.com/alecthomas/chroma/v2/lexers/plaintext.go
generated
vendored
Normal file
16
vendor/github.com/alecthomas/chroma/v2/lexers/plaintext.go
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
package lexers
|
||||
|
||||
import (
|
||||
. "github.com/alecthomas/chroma/v2" // nolint
|
||||
)
|
||||
|
||||
var Plaintext = Register(MustNewLexer(
|
||||
&Config{
|
||||
Name: "plaintext",
|
||||
Aliases: []string{"text", "plain", "no-highlight"},
|
||||
Filenames: []string{"*.txt"},
|
||||
MimeTypes: []string{"text/plain"},
|
||||
Priority: -1,
|
||||
},
|
||||
PlaintextRules,
|
||||
))
|
||||
Reference in New Issue
Block a user