diff options
author | pommicket <pommicket@gmail.com> | 2023-10-17 10:36:53 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-10-17 10:36:53 -0400 |
commit | 6ea5c07b116b98ebc836a10f88cf908d14c9b6c5 (patch) | |
tree | b9ae3cf7aca9cde2cc69bdc194fa5513664625bb /ted-internal.h | |
parent | 9842cb988343d255db17ed57d486ecc41fc0618e (diff) |
new config system seems to be working
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. |