Update 'go fmt' completion

This commit is contained in:
Shohei YOSHIDA 2024-07-30 12:17:57 +09:00
parent 61c84a203c
commit aac56495ba
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 2 additions and 1 deletions

View File

@ -560,11 +560,12 @@ case $state in
'*:importpaths:__go_packages' '*:importpaths:__go_packages'
;; ;;
fmt) (fmt)
_arguments \ _arguments \
'-C[change to directory before running the command]: :_files -/' \ '-C[change to directory before running the command]: :_files -/' \
'-n[prints commands that would be executed]' \ '-n[prints commands that would be executed]' \
'-x[prints commands as they are executed]' \ '-x[prints commands as they are executed]' \
'-mod=[sets which download mode to use]:mode:(readonly vendor)' \
'*:importpaths:__go_packages' '*:importpaths:__go_packages'
;; ;;