Skip to content

Commit

Permalink
feat: add yq formatter (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbuchlak committed Feb 3, 2024
1 parent 4588008 commit 15c4a02
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lua/conform/formatters/yq.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/mikefarah/yq",
description = "YAML/JSON processor",
},
command = "yq",
args = { "-P", "-" },
stdin = true,
}

0 comments on commit 15c4a02

Please sign in to comment.