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

sending nil pid #1408

Merged
merged 1 commit into from
Feb 12, 2020
Merged

sending nil pid #1408

merged 1 commit into from
Feb 12, 2020

Conversation

rnikoopour
Copy link
Contributor

@rnikoopour rnikoopour commented Feb 12, 2020

Language servers who receive a PID check the PID. If it's no longer running then the language server exits.

Sending the PID works when all language servers are run directly on the host. However, when using lsp-docker sending emacs PID causes certain servers to exit since the emacs PID doesn't exist on the container.

The spec allows for this to be null.

@kiennq
Copy link
Member

kiennq commented Feb 12, 2020

Out of curious, why we want to send nil pid?

@yyoncho
Copy link
Member

yyoncho commented Feb 12, 2020

@kiennq fixes #1240 . We had a long discussion in gitter chat.

@yyoncho yyoncho merged commit e7c7abf into emacs-lsp:master Feb 12, 2020
@yyoncho
Copy link
Member

yyoncho commented Feb 12, 2020

Thank you for contributing to lsp-mode and congrats for your first PR in the repo! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants