mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Add gofmt autocomplete
This commit is contained in:
parent
b7f45c3783
commit
5dda908c1f
1 changed files with 8 additions and 0 deletions
8
share/completions/gofmt.fish
Normal file
8
share/completions/gofmt.fish
Normal file
|
@ -0,0 +1,8 @@
|
|||
complete -c gofmt -l cpuprofile -o cpuprofile -d "Write cpu profile to this file"
|
||||
complete -c gofmt -s d -d "Display diffs instead of rewriting files"
|
||||
complete -c gofmt -s e -d "Report all errors (not just the first 10 on different lines)"
|
||||
complete -c gofmt -s l -d "List files whose formatting differs from gofmt's"
|
||||
complete -c gofmt -s r -d "Rewrite rule (e.g., 'a[b:len(a)] -> a[b:]')"
|
||||
complete -c gofmt -s s -d "Simplify code"
|
||||
complete -c gofmt -s w -d "Write result to (source) file instead of stdout"
|
||||
|
Loading…
Reference in a new issue