From fefba0a70d8de780e5366e53baea9b4ca63b2698 Mon Sep 17 00:00:00 2001 From: max397574 Date: Sat, 15 Jan 2022 20:39:29 +0100 Subject: chore: autoformat with stylua --- scripts/gendocs.lua | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'scripts') diff --git a/scripts/gendocs.lua b/scripts/gendocs.lua index bb0976d..496e56e 100644 --- a/scripts/gendocs.lua +++ b/scripts/gendocs.lua @@ -3,22 +3,22 @@ local docgen = require("docgen") local docs = {} docs.test = function() - -- TODO: Fix the other files so that we can add them here. - local input_files = { - "./lua/startup/functions.lua", - "./lua/startup/headers.lua", - } + -- TODO: Fix the other files so that we can add them here. + local input_files = { + "./lua/startup/functions.lua", + "./lua/startup/headers.lua", + } - local output_file = "./doc/startup.txt" - local output_file_handle = io.open(output_file, "w") + local output_file = "./doc/startup.txt" + local output_file_handle = io.open(output_file, "w") - for _, input_file in ipairs(input_files) do - docgen.write(input_file, output_file_handle) - end + for _, input_file in ipairs(input_files) do + docgen.write(input_file, output_file_handle) + end - output_file_handle:write(" vim:tw=78:ts=8:ft=help:norl:\n") - output_file_handle:close() - vim.cmd([[checktime]]) + output_file_handle:write(" vim:tw=78:ts=8:ft=help:norl:\n") + output_file_handle:close() + vim.cmd([[checktime]]) end docs.test() -- cgit v1.2.3