Skip to content

Commit

Permalink
feat: add dprint (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
WhoIsSethDaniel authored Sep 22, 2023
1 parent 4a4c927 commit 0e2c97a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lua/conform/formatters/dprint.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/dprint/dprint",
description = "Pluggable and configurable code formatting platform written in Rust.",
},
command = "dprint",
args = { "fmt", "--stdin", "$FILENAME" },
}

0 comments on commit 0e2c97a

Please sign in to comment.