emacs-lsp / lsp-mode

Emacs client/library for the Language Server Protocol
https://emacs-lsp.github.io/lsp-mode
GNU General Public License v3.0
4.72k stars 860 forks source link

Remove Alire support from lsp-mode Ada client. #4484

Closed brownts closed 3 days ago

brownts commented 5 days ago

Alire support is now available directly in the Ada Language Server and handles the functionality currently implemented in lsp-mode. In addition, when the project file is not specified by the LSP client, the language server will intelligently locate the project file using alr when an Alire configuration file exists. Therefore, the default setting of the project file has been changed (from "default.gpr" to nil) to enable the server to automatically locate the project file in normal situations. The server will also automatically find a project file for a non-Alire project if it uniquely exists in the root folder (i.e., no other project file exists in this folder). The new project file default setting provides for a better out-of-the-box configuration to support common situations.

See discussion #4468 for additional details.

brownts commented 4 days ago

Moved the safety predicate for the lsp-defcustom to an autoload, so that it's available during .dir-locals.el processing, which occurs prior to the lsp package being loaded in hack-local-variables-hook.

jcs090218 commented 3 days ago

Thank you!