LSP: Language server process not exit after sublime exit
I had used ruby language server solargrah config:
{
"clients":
{
"solargraph":
{
"enabled": true,
"command": ["solargraph", "stdio"],
"scopes": ["source.ruby", "source.ruby.rails"],
"languageId": "ruby",
"syntaxes": [
"Packages/Ruby/Ruby.sublime-syntax",
"Packages/Rails/Ruby on Rails.sublime-syntax",
"Packages/Rails/HTML (Rails).sublime-syntax"
]
}
}
}
But when I exit Sublime Text editor, the solargraph process not exit, so there will be many solargraph processes if I closed the Sublime and opened it again.
platform: macOS solargrah version: 0.27.1
Thanks!
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 15 (12 by maintainers)
As an alternative, perhaps the pipe/socket you are talking over is closed, which you may be able to detect?
I’ll close the issue now, but remain hopeful we can someday fix this.