@@ -68,7 +68,7 @@ class LspStdioConfig extends LspConfig {
6868
6969 /// Optional environement variables for the executable.
7070 final Map <String , String >? environment;
71-
71+
7272 late Process _process;
7373 final _buffer = < int > [];
7474
@@ -78,7 +78,7 @@ class LspStdioConfig extends LspConfig {
7878 required super .workspacePath,
7979 required super .languageId,
8080 this .args,
81- this .environment
81+ this .environment,
8282 });
8383
8484 static Future <LspStdioConfig > start ({
@@ -87,15 +87,15 @@ class LspStdioConfig extends LspConfig {
8787 required String workspacePath,
8888 required String languageId,
8989 List <String >? args,
90- Map <String , String >? environment
90+ Map <String , String >? environment,
9191 }) async {
9292 final config = LspStdioConfig ._(
9393 executable: executable,
9494 filePath: filePath,
9595 languageId: languageId,
9696 workspacePath: workspacePath,
9797 args: args,
98- environment: environment
98+ environment: environment,
9999 );
100100 await config._startProcess ();
101101 return config;
@@ -105,7 +105,7 @@ class LspStdioConfig extends LspConfig {
105105 _process = await Process .start (
106106 executable,
107107 args ?? [],
108- environment: environment
108+ environment: environment,
109109 );
110110 _process.stdout.listen (_handleStdoutData);
111111 _process.stderr.listen (
0 commit comments