this could be working but i still cant figure out how to run it
This commit is contained in:
parent
b92e782313
commit
8e15b77044
1 changed files with 12 additions and 0 deletions
12
scripts/doc_gen.lua
Normal file
12
scripts/doc_gen.lua
Normal 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")
|
||||
Loading…
Add table
Add a link
Reference in a new issue