@@ -281,7 +281,7 @@ export namespace LSPServer {
281281 extensions : [ ".go" ] ,
282282 async spawn ( root ) {
283283 let bin = Bun . which ( "gopls" , {
284- PATH : process . env [ "PATH" ] + ":" + Global . Path . bin ,
284+ PATH : process . env [ "PATH" ] + path . delimiter + Global . Path . bin ,
285285 } )
286286 if ( ! bin ) {
287287 if ( ! Bun . which ( "go" ) ) return
@@ -319,7 +319,7 @@ export namespace LSPServer {
319319 extensions : [ ".rb" , ".rake" , ".gemspec" , ".ru" ] ,
320320 async spawn ( root ) {
321321 let bin = Bun . which ( "rubocop" , {
322- PATH : process . env [ "PATH" ] + ":" + Global . Path . bin ,
322+ PATH : process . env [ "PATH" ] + path . delimiter + Global . Path . bin ,
323323 } )
324324 if ( ! bin ) {
325325 const ruby = Bun . which ( "ruby" )
@@ -470,7 +470,7 @@ export namespace LSPServer {
470470 root : NearestRoot ( [ "build.zig" ] ) ,
471471 async spawn ( root ) {
472472 let bin = Bun . which ( "zls" , {
473- PATH : process . env [ "PATH" ] + ":" + Global . Path . bin ,
473+ PATH : process . env [ "PATH" ] + path . delimiter + Global . Path . bin ,
474474 } )
475475
476476 if ( ! bin ) {
@@ -576,7 +576,7 @@ export namespace LSPServer {
576576 extensions : [ ".cs" ] ,
577577 async spawn ( root ) {
578578 let bin = Bun . which ( "csharp-ls" , {
579- PATH : process . env [ "PATH" ] + ":" + Global . Path . bin ,
579+ PATH : process . env [ "PATH" ] + path . delimiter + Global . Path . bin ,
580580 } )
581581 if ( ! bin ) {
582582 if ( ! Bun . which ( "dotnet" ) ) {
@@ -616,7 +616,7 @@ export namespace LSPServer {
616616 extensions : [ ".fs" , ".fsi" , ".fsx" , ".fsscript" ] ,
617617 async spawn ( root ) {
618618 let bin = Bun . which ( "fsautocomplete" , {
619- PATH : process . env [ "PATH" ] + ":" + Global . Path . bin ,
619+ PATH : process . env [ "PATH" ] + path . delimiter + Global . Path . bin ,
620620 } )
621621 if ( ! bin ) {
622622 if ( ! Bun . which ( "dotnet" ) ) {
@@ -1110,7 +1110,7 @@ export namespace LSPServer {
11101110 extensions : [ ".lua" ] ,
11111111 async spawn ( root ) {
11121112 let bin = Bun . which ( "lua-language-server" , {
1113- PATH : process . env [ "PATH" ] + ":" + Global . Path . bin ,
1113+ PATH : process . env [ "PATH" ] + path . delimiter + Global . Path . bin ,
11141114 } )
11151115
11161116 if ( ! bin ) {
@@ -1349,7 +1349,7 @@ export namespace LSPServer {
13491349 root : NearestRoot ( [ ".terraform.lock.hcl" , "terraform.tfstate" , "*.tf" ] ) ,
13501350 async spawn ( root ) {
13511351 let bin = Bun . which ( "terraform-ls" , {
1352- PATH : process . env [ "PATH" ] + ":" + Global . Path . bin ,
1352+ PATH : process . env [ "PATH" ] + path . delimiter + Global . Path . bin ,
13531353 } )
13541354
13551355 if ( ! bin ) {
@@ -1433,7 +1433,7 @@ export namespace LSPServer {
14331433 root : NearestRoot ( [ ".latexmkrc" , "latexmkrc" , ".texlabroot" , "texlabroot" ] ) ,
14341434 async spawn ( root ) {
14351435 let bin = Bun . which ( "texlab" , {
1436- PATH : process . env [ "PATH" ] + ":" + Global . Path . bin ,
1436+ PATH : process . env [ "PATH" ] + path . delimiter + Global . Path . bin ,
14371437 } )
14381438
14391439 if ( ! bin ) {
0 commit comments