From cfdd687216799cb5b47f099f1e7cd5dd16b3bdd0 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Thu, 3 Apr 2025 15:20:15 +0200 Subject: add initial lsp support --- internal/llm/tools/shell/shell.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/llm/tools/shell/shell.go') diff --git a/internal/llm/tools/shell/shell.go b/internal/llm/tools/shell/shell.go index d76cb1a2e..64592f67d 100644 --- a/internal/llm/tools/shell/shell.go +++ b/internal/llm/tools/shell/shell.go @@ -221,7 +221,7 @@ func (s *PersistentShell) killChildren() { return } - for _, pidStr := range strings.Split(string(output), "\n") { + for pidStr := range strings.SplitSeq(string(output), "\n") { if pidStr = strings.TrimSpace(pidStr); pidStr != "" { var pid int fmt.Sscanf(pidStr, "%d", &pid) -- cgit v1.2.3