diff options
author | pommicket <pommicket@gmail.com> | 2023-01-06 12:02:11 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-06 12:02:11 -0500 |
commit | 2d32df18e83b059834ae65904e6439c72372454b (patch) | |
tree | 8a2190342c2cfdb16308c2c4138fdd52dad575ff /ted.c | |
parent | d69fb12c055e1e17c765ca9714c508552a027384 (diff) |
lsp-log setting
Diffstat (limited to 'ted.c')
-rw-r--r-- | ted.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -191,8 +191,9 @@ LSP *ted_get_lsp(Ted *ted, const char *path, Language language) { return NULL; // why are there so many LSP open??? if (*settings->lsp) { // start up this LSP + FILE *log = settings->lsp_log ? ted->log : NULL; char *root_dir = settings_get_root_dir(settings, path); - ted->lsps[i] = lsp_create(root_dir, settings->lsp, settings->lsp_configuration); + ted->lsps[i] = lsp_create(root_dir, settings->lsp, settings->lsp_configuration, log); free(root_dir); // don't actually return it yet, since it's still initializing (see above) } |