mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
3499750785
Sync \w Github Linguist v7.2.0 Includes new way of handling `heuristics.yml` and all `./data/*` re-generated using Github Linguist [v7.2.0](https://github.com/github/linguist/releases/tag/v7.2.0) release tag. - many new languages - better vendoring detection - update doc on update&known issues.
41 lines
731 B
YAML
41 lines
731 B
YAML
# Tests care about number and order of heuristics in this fixture
|
|
disambiguations:
|
|
|
|
- extensions: ['.h', '.hh']
|
|
rules:
|
|
- language: Objective-C
|
|
pattern: 'objc'
|
|
- language: C++
|
|
named_pattern: cpp
|
|
|
|
- extensions: ['.f']
|
|
rules:
|
|
- language: Forth
|
|
pattern: #as in .md
|
|
- 'f'
|
|
- 'f1'
|
|
- language: Filebench WML
|
|
pattern: 'f2'
|
|
- language: Fortran
|
|
named_pattern: fortran
|
|
|
|
- extensions: ['.ms']
|
|
rules:
|
|
- language: Roff
|
|
pattern: 'rp'
|
|
- language: Unix Assembly
|
|
and:
|
|
- negative_pattern: 'np'
|
|
- pattern: 'p'
|
|
- language: MAXScript
|
|
|
|
- extensions: ['.mod']
|
|
rules:
|
|
- language: [Linux Kernel Module, AMPL]
|
|
|
|
named_patterns:
|
|
cpp:
|
|
- 'regex1'
|
|
- 'regex2'
|
|
fortran: 'regex3'
|