summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-31 11:54:06 -0500
committerpommicket <pommicket@gmail.com>2022-12-31 11:54:06 -0500
commit02faedf9bf7e826bc78161f8cf07ffca5d2dbe57 (patch)
tree39a0f0f221fbdec2197f1c8c6d0cf4986df6b8d4 /ted.c
parentf40e9f02ef3ca0a86282a927c9bb7887900100b2 (diff)
highlight-enabled and highlight-auto settings
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);
+}