mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 14:47:50 -03:00
Updated Linguist to v7.20.0
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 97bc889ce840208652bf09b45f3b7859de43fe8e
|
||||
// Extracted from github/linguist commit: 4ffcdbcbb60a74cbfbd37656bcc3fcea4eca8e26
|
||||
|
||||
package data
|
||||
|
||||
@ -1066,6 +1066,16 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
regexp.MustCompile(`(?m)tag:unity3d.com`),
|
||||
),
|
||||
},
|
||||
".mc": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("M4"),
|
||||
regexp.MustCompile(`(?m)^dnl|^divert\((?:-?\d+)?\)|^\w+\(`+"`"+`[^\n]*?'[),]`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Monkey C"),
|
||||
regexp.MustCompile(`(?m)\b(?:using|module|function|class|var)\s+\w`),
|
||||
),
|
||||
},
|
||||
".md": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Markdown"),
|
||||
@ -1519,6 +1529,7 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
rule.MatchingLanguages("Text"),
|
||||
),
|
||||
},
|
||||
".url": &Heuristics{},
|
||||
".v": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Coq"),
|
||||
|
Reference in New Issue
Block a user