summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ted.c b/ted.c
index 3868a29..987a753 100644
--- a/ted.c
+++ b/ted.c
@@ -568,3 +568,6 @@ void ted_go_to_lsp_document_position(Ted *ted, LSP *lsp, LSPDocumentPosition pos
ted_go_to_position(ted, path, line, character, true);
}
+void ted_cancel_lsp_request(Ted *ted, LSPID lsp, LSPRequestID request) {
+ lsp_cancel_request(ted_get_lsp_by_id(ted, lsp), request);
+}