@@ -32,8 +32,9 @@ _bat() {
3232 ;;
3333 -H | --highlight-line | --diff-context | --tabs | --terminal-width | \
3434 -m | --map-syntax | --style | --line-range | -h | --help | -V | \
35− --version)
36− # argument required but no completion available, or argument
35+ --version | --diagnostic | --config-file | --config-dir | \
36+ --cache-dir | --generate-config-file)
37+ # argument required but no completion available, or option
3738 # causes an exit
3839 return 0
3940 ;;
@@ -74,7 +75,9 @@ _bat() {
7475 --terminal-width --number --color --italic-text
7576 --decorations --paging --pager --map-syntax --theme
7677 --list-themes --style --line-range --list-languages
77− --help --version
78+ --help --version --force-colorization --unbuffered
79+ --diagnostic --config-file --config-dir --cache-dir
80+ --generate-config-file
7881 " -- "$cur"))
7982 return 0
8083 fi