summaryrefslogtreecommitdiffstats
path: root/assets/completions
diff options
context:
space:
mode:
authorEthan P <eth-p+git@hidden.email>2019-05-02 00:46:27 -0700
committerDavid Peter <sharkdp@users.noreply.github.com>2019-05-14 22:50:42 +0200
commit27e0ca98d9b4bf68fda79ea753c7bfe70e330c1f (patch)
tree74f09c4d7e6e6fe0a518c4b92f1e0ce4c7c1a32c /assets/completions
parent1b2066c5f286c5a4638e3d46add69732ab3d1001 (diff)
Remove language completions for config files
Diffstat (limited to 'assets/completions')
-rw-r--r--assets/completions/bat.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/completions/bat.fish b/assets/completions/bat.fish
index b09f8087..c47c14a3 100644
--- a/assets/completions/bat.fish
+++ b/assets/completions/bat.fish
@@ -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
}
}