diff options
author | pommicket <pommicket@gmail.com> | 2023-10-15 15:23:58 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-10-15 15:23:58 -0400 |
commit | a01d4de1e2feda34a20bb8dd65ec76fef3c20d6b (patch) | |
tree | c24f71d8536663d6758a14194b50508041cc03ec /node.c | |
parent | 479219152b85b2cf12e5bfee6fdebca033355beb (diff) |
use reference-counted strings for string settings
this lets us remove the length limitations which were previously imposed
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |