Skip to content

Commit

Permalink
feat: add dprint (nvim-lua#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
WhoIsSethDaniel authored and F1lipB committed Dec 17, 2024
1 parent c20ea13 commit a8536ff
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 a8536ff

Please sign in to comment.