Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line doc_out_path arg doesn't work #2597

Closed
mrbuds opened this issue Apr 4, 2024 · 1 comment
Closed

Command line doc_out_path arg doesn't work #2597

mrbuds opened this issue Apr 4, 2024 · 1 comment

Comments

@mrbuds
Copy link

mrbuds commented Apr 4, 2024

How are you using the lua-language-server?

Command Line

Which OS are you using?

Windows

What is the issue affecting?

Other

Expected Behaviour

I expect running /path/to/luals/server/bin/lua-language-server.exe --doc="path" --doc_out_path="." output in current directory

See wiki: https://luals.github.io/wiki/usage/#--doc_out_path (note the example is using wrong argument --doc instead of --doc_out_path on wiki)

Actual Behaviour

Output is save in /path/to/luals/server/log instead of doc_out_path

Reproduction steps

already explained

Additional Notes

The problem is in the following file

local outputPath = args[1] and furi.decode(args[1]) or LOGPATH

local outputPath = args[1] and furi.decode(args[1]) or LOGPATH

LOGPATH seems wrong

I fix my problem by using --logpath instead of --log_out_path
/path/to/luals/server/bin/lua-language-server.exe --doc="path" --logpath="."

Log File

No response

@mrbuds
Copy link
Author

mrbuds commented Apr 23, 2024

This is fixed in last release with #2526

@mrbuds mrbuds closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant