diff options
author | pommicket <pommicket@gmail.com> | 2022-12-30 14:40:47 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-30 14:40:47 -0500 |
commit | f2c8a3a77fdd7f397e04edcaf5dae5e7777f03b6 (patch) | |
tree | 337883c076b415fa50983a2cf3b5335aafded2e9 /lsp.h | |
parent | 91fc9b10e1700b482b13af1d25d95d80085a9b79 (diff) |
better ted_active_lsp, fix memory bug
Diffstat (limited to 'lsp.h')
-rw-r--r-- | lsp.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |