Skip to content

Commit df95b3a

Browse files
committed
add negative pattern
1 parent 2254fc6 commit df95b3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/linguist/heuristics.yml

+1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ disambiguations:
188188
# e.g., "[foobar]" or "# [commented out]"
189189
- pattern: '^[#\s]*\[[^\]]+\]\s*$'
190190
- named_pattern: key_equals_value
191+
- negative_pattern: '^[^#;=\[]+[^ \n=]$'
191192
- extensions: ['.cs']
192193
rules:
193194
- language: Smalltalk

0 commit comments

Comments
 (0)