summaryrefslogtreecommitdiff
path: root/internal/lsp/handlers_init.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-02 13:43:53 +0200
committerPaul Buetow <paul@buetow.org>2026-03-02 13:43:53 +0200
commit393af17e8f274537a8fa6c302e0bcab21d191e7b (patch)
tree565d16d4650f37ea53eb0272aa96eca8a4a31f35 /internal/lsp/handlers_init.go
parent021785d750de2cd8d1f94334282a2b110b77c0fd (diff)
lsp: return cleanly on exit and propagate runner errors (task 410)
Diffstat (limited to 'internal/lsp/handlers_init.go')
-rw-r--r--internal/lsp/handlers_init.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/lsp/handlers_init.go b/internal/lsp/handlers_init.go
index d86d104..29dc803 100644
--- a/internal/lsp/handlers_init.go
+++ b/internal/lsp/handlers_init.go
@@ -2,8 +2,6 @@
package lsp
import (
- "os"
-
"codeberg.org/snonux/hexai/internal"
"codeberg.org/snonux/hexai/internal/logging"
tmx "codeberg.org/snonux/hexai/internal/tmux"
@@ -43,5 +41,4 @@ func (s *Server) handleShutdown(req Request) {
func (s *Server) handleExit() {
s.exited = true
- os.Exit(0)
}