LspTransportFactory typedef
LspTransportFactory =
Future<LspTransport> Function(LspServerConfig config, String cwd)
Spawns a language server for config rooted at cwd.
Implementations must throw LspServerUnavailableException (not return null) when the command cannot be started.
Implementation
typedef LspTransportFactory =
Future<LspTransport> Function(LspServerConfig config, String cwd);