Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PHP Language Server detection #4508

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlexanderSeto
Copy link

Currently, if lsp-clients-php-server-command is not set, the test-command for the PHP Language Server (php-ls) will return as true. This results in php-ls appearing in the list of available servers even if not installed. This commit fixes the check to return false when not set.

Closes #4507

@github-actions github-actions bot added documentation client One or more of lsp-mode language clients labels Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client One or more of lsp-mode language clients documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test command for PHP Language Server returns true when lsp-clients-php-server-command is nil.
1 participant