Closed nytpu closed 2 months ago
Hello !
I suspect that the warning gets emitted before the configuration is sent to the Ada Language Server, maybe because neovim does not send the ada.projectFile
setting when initializing the server. We'll have a look.
Regards,
Closing this issue, since it's related to NeoVim, and can't be reproduced with VS Code, which is LSP-client reference implementation.
Don't hesitate to come back with a suggestion for us to fit NeoVim's initialization sequence if you find any.
On Neovim using nvim-lspconfig, when a program has multiple GPR files in the project root but the
ada.projectFile
option is configured, ALS still prints this warning when starting:Note that ALS still functions perfectly after dismissing the warning message as long as
projectFile
was set correctly, this is purely a cosmetic issue. The warning does not appear and everything still functions as normal if I move all the GPR files to a subdirectory and pointprojectFile
at the new location; it only occurs when there's multiple GPRs in the project root.