From c6cc0108ca7738023b45e0eeac0fa2390532dd93 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 25 Oct 2024 00:47:47 +0200 Subject: Added vendor lock on deps --- .../github.com/alecthomas/chroma/v2/lexers/plaintext.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vendor/github.com/alecthomas/chroma/v2/lexers/plaintext.go (limited to 'vendor/github.com/alecthomas/chroma/v2/lexers/plaintext.go') diff --git a/vendor/github.com/alecthomas/chroma/v2/lexers/plaintext.go b/vendor/github.com/alecthomas/chroma/v2/lexers/plaintext.go new file mode 100644 index 0000000..8b32aa4 --- /dev/null +++ b/vendor/github.com/alecthomas/chroma/v2/lexers/plaintext.go @@ -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, +)) -- cgit v1.2.3