source: code/trunk/vendor/github.com/alecthomas/chroma/v2/lexers/plaintext.go@ 67

Last change on this file since 67 was 67, checked in by Izuru Yakumo, 23 months ago

Use vendored modules

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File size: 316 bytes
Line 
1package lexers
2
3import (
4 . "github.com/alecthomas/chroma/v2" // nolint
5)
6
7var Plaintext = Register(MustNewLexer(
8 &Config{
9 Name: "plaintext",
10 Aliases: []string{"text", "plain", "no-highlight"},
11 Filenames: []string{"*.txt"},
12 MimeTypes: []string{"text/plain"},
13 Priority: -1,
14 },
15 PlaintextRules,
16))
Note: See TracBrowser for help on using the repository browser.