summaryrefslogtreecommitdiff
path: root/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'node.c')
-rw-r--r--node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.c b/node.c
index d7b021c..f4fe8fc 100644
--- a/node.c
+++ b/node.c
@@ -420,7 +420,7 @@ void node_frame(Ted *ted, Node *node, Rect r) {
// set window title to active tab's title
strbuf_printf(ted->window_title, "ted %s | %s", tab_title,
settings->indent_with_spaces ? "spaces" : "tabs");
- if (*settings->lsp) {
+ if (*rc_str(settings->lsp, "")) {
LSP *lsp = buffer_lsp(buffer);
strbuf_catf(ted->window_title, " | LSP %s",
lsp && lsp_is_initialized(lsp) && !lsp_has_exited(lsp)