diff options
Diffstat (limited to 'lsp.h')
-rw-r--r-- | lsp.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -557,7 +557,10 @@ typedef struct LSP { // has the response to the initialize request been sent? // thread-safety: this starts out false, and only gets set to true once // (when the initialize response is received) - bool initialized; + _Atomic bool initialized; + // has the LSP server exited? + // thread-safety: only set to false once when the process dies + _Atomic bool died; // 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). |