diff options
Diffstat (limited to 'internal/lsp')
| -rw-r--r-- | internal/lsp/client.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/lsp/client.go b/internal/lsp/client.go index 824a84b5d..e2eedc4fc 100644 --- a/internal/lsp/client.go +++ b/internal/lsp/client.go @@ -48,8 +48,8 @@ type Client struct { openFilesMu sync.RWMutex } -func NewClient(command string, args ...string) (*Client, error) { - cmd := exec.Command(command, args...) +func NewClient(ctx context.Context, command string, args ...string) (*Client, error) { + cmd := exec.CommandContext(ctx, command, args...) // Copy env cmd.Env = os.Environ() |
