diff options
author | pommicket <pommicket@gmail.com> | 2023-01-07 22:32:59 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-07 22:32:59 -0500 |
commit | 01d5fcc72f6ea29d0f90b845b7565137e7daac14 (patch) | |
tree | 39346ae60c418345612ad6c6634943cc630d713d /lsp.h | |
parent | cb55279a20865fcfde23a160233155d23a09a03b (diff) |
fix tags go-to-definition menu, silence errors for LSP not found
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). |