this could be working but i still cant figure out how to run it

This commit is contained in:
Smirnov Oleksandr 2024-02-28 15:22:48 +02:00
parent b92e782313
commit 8e15b77044

12
scripts/doc_gen.lua Normal file
View file

@ -0,0 +1,12 @@
---@diagnostic disable: undefined-global
--# selene: allow(undefined_variable)
local okay, minidoc = pcall(require, "mini.doc")
if not okay then
error "mini.doc not found, please install it. https://github.com/echasnovski/mini.doc"
return
end
minidoc.setup()
MiniDoc.generate({ "lua/gopher" }, "doc/gopher.nvim.txt")