mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-12-04 15:08:43 +08:00
Update 'go fmt' completion
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -560,11 +560,12 @@ case $state in
|
||||
'*:importpaths:__go_packages'
|
||||
;;
|
||||
|
||||
fmt)
|
||||
(fmt)
|
||||
_arguments \
|
||||
'-C[change to directory before running the command]: :_files -/' \
|
||||
'-n[prints commands that would be executed]' \
|
||||
'-x[prints commands as they are executed]' \
|
||||
'-mod=[sets which download mode to use]:mode:(readonly vendor)' \
|
||||
'*:importpaths:__go_packages'
|
||||
;;
|
||||
|
||||
|
||||
Reference in new issue
Block a user