aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSteven Arcangeli <506791+stevearc@users.noreply.github.com>2023-09-15 08:35:28 -0700
committerGitHub <noreply@github.com>2023-09-15 08:35:28 -0700
commitfbb18a5b92e2f11aaaef379d74d4a1132a138cb3 (patch)
tree8a9193f0be376d9317f447790f23a5a0f1554a7c /scripts
parent3f855f3675a22cb52a6754f3ab073d13528ce0ca (diff)
feat: allow running commands in a shell (#49)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/options_doc.lua1
1 files changed, 1 insertions, 0 deletions
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)