diff --git a/changelog.d/20250217_215714_github-actions[bot]_lsp-server-ignore-sigint.rst b/changelog.d/20250217_215714_github-actions[bot]_lsp-server-ignore-sigint.rst new file mode 100644 index 000000000..67256acb8 --- /dev/null +++ b/changelog.d/20250217_215714_github-actions[bot]_lsp-server-ignore-sigint.rst @@ -0,0 +1,7 @@ +.. _#2248: https://github.com/fox0430/moe/pull/2248 + +Fixed +..... + +- `#2248`_ lsp: Ignore SIGINT in server process + diff --git a/src/moepkg/lsp/client.nim b/src/moepkg/lsp/client.nim index a2d610374..f4497d877 100644 --- a/src/moepkg/lsp/client.nim +++ b/src/moepkg/lsp/client.nim @@ -406,7 +406,7 @@ proc restart*(c: LspClient): Future[LspRestartClientResult] {.async.} = commandSplit[1 .. ^1] else: @[] - opts: set[AsyncProcessOption] = {UsePath, EvalCommand, StdErrToStdOut} + opts: set[AsyncProcessOption] = {UsePath, EvalCommand, StdErrToStdOut, ProcessGroup} try: c.serverProcess = await startProcess(