@@ -24,7 +24,7 @@ function __bat_autocomplete_languages --description "A helper function used by "
24 sub(/^ +/, "", ext); # Trim leading whitespace.
24 sub(/^ +/, "", ext); # Trim leading whitespace.
25 sub(/ +$/, "", ext); # Trim trailing whitespace.
25 sub(/ +$/, "", ext); # Trim trailing whitespace.
27− if (ext != "") {
27+ if ((ext != "") && (ext !~ /[A-Z].*/)) {
28 print ext"\t"lang
28 print ext"\t"lang