Skip to content

Doc export file paths all start with ile:// #2971

Closed
@rhys-vdw

Description

@rhys-vdw

How are you using the lua-language-server?

Command Line

Which OS are you using?

Windows WSL

What is the issue affecting?

Other

Expected Behaviour

Paths in exported doc JSON should start with file:/// as in the example:

"file": "file:///c%3A/Users/Me/Documents/Array.lua",

Actual Behaviour

Missing the leading f:

"file": "ile:///home/rhys/spring/./cont/base/springcontent/LuaHandler/handler.lua",

Reproduction steps

rhys@RhysDesktop:~/spring$ lua-language-server --doc . --doc_out_path docs/
root uri = file:///home/rhys/spring/.
Documentation exported:91/2488

docs/doc.json
docs/doc.md

Additional Notes

rhys@RhysDesktop:~/spring$ lua-language-server --version
<Unknown>
rhys@RhysDesktop:~/spring$ lua-language-server --help
Content-Length: 55

{"jsonrpc":"2.0","method":"$/hello","params":["world"]}

How do you get a version?

Log File

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions