summaryrefslogtreecommitdiff
path: root/scripts/gendocs.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gendocs.lua')
-rw-r--r--scripts/gendocs.lua10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/gendocs.lua b/scripts/gendocs.lua
index 95f6ea6..7016147 100644
--- a/scripts/gendocs.lua
+++ b/scripts/gendocs.lua
@@ -1,8 +1,10 @@
-- Setup telescope with defaults
-if RELOAD then RELOAD('telescope') end
-require('telescope').setup()
+if RELOAD then
+ RELOAD "telescope"
+end
+require("telescope").setup()
-local docgen = require('docgen')
+local docgen = require "docgen"
local docs = {}
@@ -32,7 +34,7 @@ docs.test = function()
docgen.write(input_file, output_file_handle)
end
- output_file_handle:write(" vim:tw=78:ts=8:ft=help:norl:\n")
+ output_file_handle:write " vim:tw=78:ts=8:ft=help:norl:\n"
output_file_handle:close()
vim.cmd [[checktime]]
end