From a52da9567d0da71c4d15fdc260f39186203539eb Mon Sep 17 00:00:00 2001 From: Mads Hougesen Date: Wed, 12 Feb 2025 08:37:27 +0100 Subject: [PATCH] feat: support reformat-gherkin --- lua/conform/formatters/reformat-gherkin.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lua/conform/formatters/reformat-gherkin.lua diff --git a/lua/conform/formatters/reformat-gherkin.lua b/lua/conform/formatters/reformat-gherkin.lua new file mode 100644 index 00000000..5c5c4396 --- /dev/null +++ b/lua/conform/formatters/reformat-gherkin.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/ducminh-phan/reformat-gherkin", + description = "Reformat-gherkin automatically formats Gherkin files", + }, + command = "reformat-gherkin", + args = { "-" }, + stdin = true, +}