This commit is contained in:
17
vendor/github.com/alecthomas/chroma/lexers/p/plaintext.go
generated
vendored
Normal file
17
vendor/github.com/alecthomas/chroma/lexers/p/plaintext.go
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
package p
|
||||
|
||||
import (
|
||||
. "github.com/alecthomas/chroma" // nolint
|
||||
"github.com/alecthomas/chroma/lexers/internal"
|
||||
)
|
||||
|
||||
var Plaintext = internal.Register(MustNewLazyLexer(
|
||||
&Config{
|
||||
Name: "plaintext",
|
||||
Aliases: []string{"text", "plain", "no-highlight"},
|
||||
Filenames: []string{"*.txt"},
|
||||
MimeTypes: []string{"text/plain"},
|
||||
Priority: 0.1,
|
||||
},
|
||||
internal.PlaintextRules,
|
||||
))
|
||||
Reference in New Issue
Block a user