aboutsummaryrefslogtreecommitdiffstats
path: root/doc/conform.txt
diff options
context:
space:
mode:
authorSteven Arcangeli <stevearc@stevearc.com>2023-08-29 16:19:34 -0700
committerSteven Arcangeli <stevearc@stevearc.com>2023-08-29 16:23:39 -0700
commit03a37f1b53d83af7aee10fc3ffee9f3a05d09e2e (patch)
tree10c30117d98197cd8cfe02226aa4f6308bdf6aba /doc/conform.txt
parentbf68b4a987231b18018f9621cfb15670a9a681b3 (diff)
feat: add support for environment variables (#8)
Diffstat (limited to 'doc/conform.txt')
-rw-r--r--doc/conform.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/conform.txt b/doc/conform.txt
index 9542f63..854cfab 100644
--- a/doc/conform.txt
+++ b/doc/conform.txt
@@ -62,6 +62,10 @@ OPTIONS *conform-option
end,
-- Exit codes that indicate success (default {0})
exit_codes = { 0, 1 },
+ -- Environment variables. This can also be a function that returns a table.
+ env = {
+ VAR = "value",
+ },
},
-- These can also be a function that returns the formatter
other_formatter = function()