mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 14:47:50 -03:00
Updated Linguist to v7.28.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: 7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd
|
||||
// Extracted from github/linguist commit: ee9119e70111d46842788b2bc1666ec1d1ea9e2a
|
||||
|
||||
package data
|
||||
|
||||
@ -1109,6 +1109,16 @@ var ContentHeuristics = map[string]*Heuristics{
|
||||
regex.MustCompileMultiline(`^\((de|class|rel|code|data|must)\s`),
|
||||
),
|
||||
},
|
||||
".lean": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Lean"),
|
||||
regex.MustCompileMultiline(`^import [a-z]`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Lean 4"),
|
||||
regex.MustCompileMultiline(`^import [A-Z]`),
|
||||
),
|
||||
},
|
||||
".lisp": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Common Lisp"),
|
||||
|
Reference in New Issue
Block a user