Remove language completions for config files

pull/566/head
Ethan P 5 years ago committed by David Peter
parent 1b2066c5f2
commit 27e0ca98d9

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

Loading…
Cancel
Save