on master help sign in
Remove language completions for config files
commit27e0ca98d9b4bf68fda79ea753c7bfe70e330c1f authorEthan P <eth-p+git@hidden.email> dateThu 2 May 2019, 00:46 (8 years ago) parent1b2066c
1 file changed+1−1
assets/completions/bat.fish+1−1
assets/completions/bat.fish+1−1
@@ -24,7 +24,7 @@ function __bat_autocomplete_languages --description "A helper function used by "
2424 sub(/^ +/, "", ext); # Trim leading whitespace.
2525 sub(/ +$/, "", ext); # Trim trailing whitespace.
2626
27− if (ext != "") {
27+ if ((ext != "") && (ext !~ /[A-Z].*/)) {
2828 print ext"\t"lang
2929 }
3030 }