From f2ca94391f00472ae405663934bc2bf49067eedf Mon Sep 17 00:00:00 2001 From: Alex Seto Date: Sat, 27 Jul 2024 05:31:57 -0400 Subject: [PATCH] Fix PHP Language Server detection --- CHANGELOG.org | 1 + clients/lsp-php.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.org b/CHANGELOG.org index 29e859c92e1..e7725e5dec1 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -8,6 +8,7 @@ * Added a new optional ~:action-filter~ argument when defining LSP clients that allows code action requests to be modified before they are sent to the server. This is used by the Haskell language server client to work around an ~lsp-mode~ parsing quirk that incorrectly sends ~null~ values instead of ~false~ in code action requests. * Add support for C# via the [[https://github.com/dotnet/roslyn/tree/main/src/LanguageServer][Roslyn language server]]. * Add basic support for [[https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_pullDiagnostics][pull diagnostics]] requests. + * Fix PHP Language Server detection. ** 9.0.0 * Add language server config for QML (Qt Modeling Language) using qmlls. diff --git a/clients/lsp-php.el b/clients/lsp-php.el index 0d542d943e6..cad2de977f5 100644 --- a/clients/lsp-php.el +++ b/clients/lsp-php.el @@ -70,7 +70,7 @@ (progn (lsp-log "%s is not present." php-file) nil))) - t)))) + nil)))) (lsp-register-client (make-lsp-client :new-connection (lsp-php--create-connection)