Skip to content

Commit

Permalink
dprint: add shell completion support
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Dec 19, 2024
1 parent 431f003 commit d8bccbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/d/dprint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d8bccbe

Please sign in to comment.