From 03a37f1b53d83af7aee10fc3ffee9f3a05d09e2e Mon Sep 17 00:00:00 2001 From: Steven Arcangeli Date: Tue, 29 Aug 2023 16:19:34 -0700 Subject: feat: add support for environment variables (#8) --- tests/options_doc.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/options_doc.lua') diff --git a/tests/options_doc.lua b/tests/options_doc.lua index f559d89..bdbf5df 100644 --- a/tests/options_doc.lua +++ b/tests/options_doc.lua @@ -48,6 +48,10 @@ require("conform").setup({ 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() -- cgit v1.2.3-70-g09d2