feat: Allow disabling the language server#47
Conversation
050af4c to
e2183f4
Compare
taminomara
left a comment
There was a problem hiding this comment.
Thanks for the PR.
Please, add checks to warn and early returns to run_apidoc and autoobject, otherwise they'll fail with somewhat obscure error.
Also, run pre-commit run --all to fix codestyle.
Other than this, everything else looks fine!
I'm not a sphinx expert, whereabouts would the early return for
Will do!
Great! |
In |
e2183f4 to
84d61a2
Compare
Signed-off-by: Pieter Lexis <pieter.lexis@powerdns.com>
84d61a2 to
9cb4b7c
Compare
|
Merged, will release in a few days. |

Hello Lua-LS maintainers,
This PR adds the option to set
lua_lstodisable. This will make the plugin not download or run any language server.The usecase for this is the following. Our software (PowerDNS) has Lua as scripting language/hook engine embedded in our software. These Lua functions and objects are wrapped C++ objects and functions and hence we ship no Lua files. We do want to document all these objects and functions using the Sphinx/rst Lua domain for easy cross referencing in the docs. As this means we don't need to run a Language Server, it seemed a good idea to allow not running this.
If you need any changes to this PR, let me know.
Best regards,
Pieter Lexis