summaryrefslogtreecommitdiff
path: root/ted-internal.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-10-17 10:36:53 -0400
committerpommicket <pommicket@gmail.com>2023-10-17 10:36:53 -0400
commit6ea5c07b116b98ebc836a10f88cf908d14c9b6c5 (patch)
treeb9ae3cf7aca9cde2cc69bdc194fa5513664625bb /ted-internal.h
parent9842cb988343d255db17ed57d486ecc41fc0618e (diff)
new config system seems to be working
Diffstat (limited to 'ted-internal.h')
-rw-r--r--ted-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ted-internal.h b/ted-internal.h
index 6fa49ae..4c36fef 100644
--- a/ted-internal.h
+++ b/ted-internal.h
@@ -442,6 +442,8 @@ LSPPosition buffer_cursor_pos_as_lsp_position(TextBuffer *buffer);
///
/// Returns `(LSPRange){0}` if nothing is selected.
LSPRange buffer_selection_as_lsp_range(TextBuffer *buffer);
+/// indicate that config has been reloaded so we need to recompute buffer settings
+void buffer_recompute_settings(TextBuffer *buffer);
/// Apply LSP TextEdit[] from response
void buffer_apply_lsp_text_edits(TextBuffer *buffer, const LSPResponse *response, const LSPTextEdit *edits, size_t n_edits);
/// Get the cursor position as an LSPDocumentPosition.