File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ class DLanguageClient extends AutoLanguageClient {
99
99
100
100
startServerProcess (projectPath ) {
101
101
return super .spawn (
102
- getExePath (' serve-d' ), // path to the LSP executable.
102
+ getExePath (' serve-d' ), // path to the LSP executable (or the exe name if it is on the PATH)
103
103
[], // args passed to spawn the exe
104
104
{ cwd: projectPath } // child process spawn options
105
105
)
Original file line number Diff line number Diff line change @@ -283,9 +283,9 @@ export default class AutoLanguageClient {
283
283
* Use this inside the `startServerProcess` override if the language server is a general executable
284
284
* Also see the `spawnChildNode` method
285
285
*/
286
- protected spawn ( lspPath : string , args : string [ ] , options : cp . SpawnOptions = { } ) : cp . ChildProcess {
287
- this . logger . debug ( `starting "${ lspPath } ${ args . join ( ' ' ) } "` ) ;
288
- return cp . spawn ( lspPath , args , options ) ;
286
+ protected spawn ( exe : string , args : string [ ] , options : cp . SpawnOptions = { } ) : cp . ChildProcess {
287
+ this . logger . debug ( `starting "${ exe } ${ args . join ( ' ' ) } "` ) ;
288
+ return cp . spawn ( exe , args , options ) ;
289
289
}
290
290
291
291
/** Spawn a language server using Atom's Nodejs process
You can’t perform that action at this time.
0 commit comments