Skip to content

Commit

Permalink
lsp: Ignore SIGINT in server process (#2248)
Browse files Browse the repository at this point in the history
  • Loading branch information
fox0430 authored Feb 17, 2025
1 parent f33702a commit 16367ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. _#2248: https://github.com/fox0430/moe/pull/2248

Fixed
.....

- `#2248`_ lsp: Ignore SIGINT in server process

2 changes: 1 addition & 1 deletion src/moepkg/lsp/client.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 16367ed

Please sign in to comment.