LuaLS / vscode-lua

Release lua-language-server for VSCode
https://github.com/LuaLS/lua-language-server
MIT License
179 stars 49 forks source link

Export Document Renders Nothing #137

Open mfisher31 opened 5 months ago

mfisher31 commented 5 months ago

Which OS are you using?

Linux

Expected Behaviour

"Lua: Export Document" -> Should generate markdown files after choosing the output folder.

Actual Behaviour

Nothing renders

Reproduction steps

  1. Open a lua file
  2. press ctl + shift + p
  3. select "Lua: Export Document"
  4. choose a folder

no output generated.

Additional Notes

Log

script/cli/doc.lua:287: bad argument #1 to 'path' (bee::path expected, got nil)
stack traceback:
    [C]: in function 'bee.filesystem.path'
    script/cli/doc.lua:287: in upvalue 'collectConfig'
    script/cli/doc.lua:300: in function 'cli.doc.export'
    script/cli/doc.lua:354: in function 'cli.doc.makeDoc'
    script/core/command/exportDocument.lua:11: in function 'core.command.exportDocument'
    script/provider/provider.lua:984: in function <script/provider/provider.lua:962>
    [C]: in function 'xpcall'
    script/proto/proto.lua:200: in function <script/proto/proto.lua:175>