sublimelsp / LSP

Client implementation of the Language Server Protocol for Sublime Text
https://lsp.sublimetext.io/
MIT License
1.61k stars 182 forks source link

Inherit parent environment in subprocesses #2475

Closed hovsater closed 3 weeks ago

hovsater commented 3 weeks ago

This ensures that the language servers inherit the parent environment, retaining access to essential system variables while allowing for specific overrides.

hovsater commented 3 weeks ago

I might have opened up this pull request prematurely as it looks like this is already being done:

https://github.com/sublimelsp/LSP/blob/68c70316595685d2dc40f06e02b8d891f4bdab1a/plugin/core/types.py#L824-L831