mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
Update 'go fmt' completion
This commit is contained in:
+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