From 7a970955832c54323e7c17ed054f7181866e848e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Martinez?= Date: Wed, 8 Jun 2016 13:40:27 +0200 Subject: [PATCH] Add goimports completions --- share/completions/goimports.fish | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 share/completions/goimports.fish diff --git a/share/completions/goimports.fish b/share/completions/goimports.fish new file mode 100644 index 000000000..b0b568c96 --- /dev/null +++ b/share/completions/goimports.fish @@ -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" +