Skip to content

Commit

Permalink
Fixes #344.
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas committed Mar 15, 2020
1 parent 4f3623d commit 937aba1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lexers/p/plaintext.go
Expand Up @@ -11,6 +11,7 @@ var Plaintext = internal.Register(MustNewLexer(
Aliases: []string{"text", "plain", "no-highlight"},
Filenames: []string{"*.txt"},
MimeTypes: []string{"text/plain"},
Priority: 0.1,
},
internal.PlaintextRules,
))
3 changes: 2 additions & 1 deletion lexers/t/typoscript.go
Expand Up @@ -10,9 +10,10 @@ var Typoscript = internal.Register(MustNewLexer(
&Config{
Name: "TypoScript",
Aliases: []string{"typoscript"},
Filenames: []string{"*.ts", "*.txt"},
Filenames: []string{"*.ts"},
MimeTypes: []string{"text/x-typoscript"},
DotAll: true,
Priority: 0.1,
},
Rules{
"root": {
Expand Down

0 comments on commit 937aba1

Please sign in to comment.