summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lsp.h b/lsp.h
index 5d5fc1b..68e90e6 100644
--- a/lsp.h
+++ b/lsp.h
@@ -559,8 +559,8 @@ typedef struct LSP {
// (when the initialize response is received)
_Atomic bool initialized;
// has the LSP server exited?
- // thread-safety: only set to false once when the process dies
- _Atomic bool died;
+ // thread-safety: atomic
+ _Atomic bool exited;
// thread-safety: only set once in lsp_create.
char *command;
// this is set in lsp_create, then later set to NULL when we send over the configuration (after the initialized notification).