mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
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'
|