Mercurial > yakumo_izuru > aya
comparison vendor/github.com/alecthomas/chroma/v2/lexers/plaintext.go @ 66:787b5ee0289d draft
Use vendored modules
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author | yakumo.izuru |
---|---|
date | Sun, 23 Jul 2023 13:18:53 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
65:6d985efa0f7a | 66:787b5ee0289d |
---|---|
1 package lexers | |
2 | |
3 import ( | |
4 . "github.com/alecthomas/chroma/v2" // nolint | |
5 ) | |
6 | |
7 var 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 )) |