AdaCore / ada_language_server

Server implementing the Microsoft Language Protocol for Ada and SPARK
GNU General Public License v3.0
240 stars 55 forks source link

[Enhancement]: per project config file nvim #1222

Open nikolatzotchev opened 6 days ago

nikolatzotchev commented 6 days ago

Enhancement Request

in the wiki for nvim its written:

The Ada Language Server's settings are described here. Configuring neovim to use project-specific settings is described neovim's lspconfig wiki

By following the link you see in nvim-lspconfig:

If you came across an LSP server that doesn't provide a way to configure server via local files, please consider to fill an issue at its repo.

So my question is, is this available when using the ada_language_server with nvim? I see that it exists for VS code and also vim. I will be ideal for me if I could configure settings on project level.

eliericha commented 5 days ago

Hello @nikolatzotchev ,

We are already working on this feature to make it easier to use the Ada Language Server with editors. The idea is to make ALS automatically load a .als.json file if it exists in the directory where ALS is started. So stand by for this new feature in the next release :)