diff options
author | pommicket <pommicket@gmail.com> | 2022-12-24 12:29:51 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-24 12:29:51 -0500 |
commit | a68d59e180b8131197c6387a764a78403b06e069 (patch) | |
tree | 53d32414fda2a4631a8476e766dcda8c0833c208 /ted.c | |
parent | e1b3296d7ecae1bf1620f53714ec3ba5b31709d4 (diff) |
fix ted_get_lsp problem
Diffstat (limited to 'ted.c')
-rw-r--r-- | ted.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |