mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 10:43:47 +08:00
Add goimports completions
This commit is contained in:
parent
f37dafdf52
commit
7a97095583
6
share/completions/goimports.fish
Normal file
6
share/completions/goimports.fish
Normal file
|
@ -0,0 +1,6 @@
|
|||
complete -c goimports -s d -d "Display diffs instead of rewriting files"
|
||||
complete -c goimports -s e -d "Report all errors"
|
||||
complete -c goimports -s l -d "List files whose formatting differs from goimport's"
|
||||
complete -c goimports -l srcdir -o srcdir -r -d "Choose imports as if source code is from dir"
|
||||
complete -c goimports -s w -d "Write result to (source) file instead of stdout"
|
||||
|
Loading…
Reference in New Issue
Block a user