summaryrefslogtreecommitdiff
path: root/ted.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-24 12:29:51 -0500
committerpommicket <pommicket@gmail.com>2022-12-24 12:29:51 -0500
commita68d59e180b8131197c6387a764a78403b06e069 (patch)
tree53d32414fda2a4631a8476e766dcda8c0833c208 /ted.c
parente1b3296d7ecae1bf1620f53714ec3ba5b31709d4 (diff)
fix ted_get_lsp problem
Diffstat (limited to 'ted.c')
-rw-r--r--ted.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ted.c b/ted.c
index 3472a98..0a71227 100644
--- a/ted.c
+++ b/ted.c
@@ -111,6 +111,7 @@ LSP *ted_get_lsp(Ted *ted, const char *path, Language language) {
char *root_dir = settings_get_root_dir(settings, path);
ted->lsps[i] = lsp_create(root_dir, language, settings->lsp);
free(root_dir);
+ return ted->lsps[i];
}
return NULL;