1
0
mirror of https://github.com/sharkdp/bat synced 2026-06-28 13:13:19 +00:00

Remove language completions for config files

This commit is contained in:
Ethan P
2019-05-02 00:46:27 -07:00
committed by David Peter
parent 1b2066c5f2
commit 27e0ca98d9
+1 -1
View File
@@ -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
}
}