diff options
author | pommicket <pommicket@gmail.com> | 2023-09-07 15:18:45 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-09-07 22:49:53 -0400 |
commit | 5cad1bee9b72610d9d97b5f97e7f1a245a2d2ba5 (patch) | |
tree | 5ee6f155f6900be4eeec07ad33417d2d9992a80f /ted-internal.h | |
parent | 815d652b570f53c989f62d0c7db847d7d6dfd940 (diff) |
more diagnostics
Diffstat (limited to 'ted-internal.h')
-rw-r--r-- | ted-internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ted-internal.h b/ted-internal.h index 49ca912..e5b9874 100644 --- a/ted-internal.h +++ b/ted-internal.h @@ -464,6 +464,7 @@ bool buffer_handle_click(Ted *ted, TextBuffer *buffer, vec2 click, u8 times); void buffer_center_cursor_next_frame(TextBuffer *buffer); /// perform a series of checks to make sure the buffer doesn't have any invalid values void buffer_check_valid(TextBuffer *buffer); +void buffer_publish_diagnostics(TextBuffer *buffer, const LSPRequest *request, LSPDiagnostic *diagnostics); // === build.c === void build_frame(Ted *ted, float x1, float y1, float x2, float y2); @@ -712,6 +713,6 @@ void ted_load_fonts(Ted *ted); /// Free all of ted's fonts. void ted_free_fonts(Ted *ted); /// process textDocument/publishDiagnostics request -void ted_process_publish_diagnostics(Ted *ted, LSPRequest *request); +void ted_process_publish_diagnostics(Ted *ted, LSP *lsp, LSPRequest *request); #endif // TED_INTERNAL_H_ |