diff options
Diffstat (limited to 'ted-internal.h')
-rw-r--r-- | ted-internal.h | 2 |
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. |