diff --git a/Formula/d/dprint.rb b/Formula/d/dprint.rb index 32573333fe7fa..70dc7e5ff0acc 100644 --- a/Formula/d/dprint.rb +++ b/Formula/d/dprint.rb @@ -19,6 +19,8 @@ class Dprint < Formula def install system "cargo", "install", *std_cargo_args(path: "crates/dprint") + + generate_completions_from_executable(bin/"dprint", "completions") end test do