lsp
lsp copied to clipboard
lsp-test: export runSessionWithConfig' to allow modifying the CreateProcess
The default runSessionWithConfig launches an LSP server process, but doesn't provide any flexibility for modifying the CreateProcess to be used. This prevented me from doing things like tweaking the environment variables for the process.
This PR exports a new function runSessionWithConfig', where the first argument allows the caller to modify the CreateProcess.