summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-30 14:40:47 -0500
committerpommicket <pommicket@gmail.com>2022-12-30 14:40:47 -0500
commitf2c8a3a77fdd7f397e04edcaf5dae5e7777f03b6 (patch)
tree337883c076b415fa50983a2cf3b5335aafded2e9 /lsp.h
parent91fc9b10e1700b482b13af1d25d95d80085a9b79 (diff)
better ted_active_lsp, fix memory bug
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lsp.h b/lsp.h
index b80fbb2..90f70d7 100644
--- a/lsp.h
+++ b/lsp.h
@@ -440,6 +440,8 @@ LSP *lsp_create(const char *root_dir, Language language, const char *analyzer_co
bool lsp_try_add_root_dir(LSP *lsp, const char *new_root_dir);
// report that this document has changed
void lsp_document_changed(LSP *lsp, const char *document, LSPDocumentChangeEvent change);
+// is this path in the LSP's workspace folders?
+bool lsp_covers_path(LSP *lsp, const char *path);
bool lsp_next_message(LSP *lsp, LSPMessage *message);
bool lsp_position_eq(LSPPosition a, LSPPosition b);
bool lsp_document_position_eq(LSPDocumentPosition a, LSPDocumentPosition b);