From fbb18a5b92e2f11aaaef379d74d4a1132a138cb3 Mon Sep 17 00:00:00 2001 From: Steven Arcangeli <506791+stevearc@users.noreply.github.com> Date: Fri, 15 Sep 2023 08:35:28 -0700 Subject: feat: allow running commands in a shell (#49) --- scripts/options_doc.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/options_doc.lua') diff --git a/scripts/options_doc.lua b/scripts/options_doc.lua index 9073369..af7b10c 100644 --- a/scripts/options_doc.lua +++ b/scripts/options_doc.lua @@ -36,6 +36,7 @@ require("conform").setup({ command = "my_cmd", -- OPTIONAL - all fields below this are optional -- A list of strings, or a function that returns a list of strings + -- Return a single string instead to run the command in a shell args = { "--stdin-from-filename", "$FILENAME" }, -- If the formatter supports range formatting, create the range arguments here range_args = function(ctx) -- cgit v1.2.3-70-g09d2