From 100859239a28c2709bb3e2cdce347300a2b763e2 Mon Sep 17 00:00:00 2001 From: pommicket Date: Fri, 8 Sep 2023 17:17:35 -0400 Subject: LSP over TCP initial draft --- buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'buffer.c') diff --git a/buffer.c b/buffer.c index 7c0e481..549a99e 100644 --- a/buffer.c +++ b/buffer.c @@ -3374,7 +3374,8 @@ void buffer_render(TextBuffer *buffer, Rect r) { hover_diagnostic = diagnostic; if (diagnostic->url && ted_clicked_in_rect(ted, rect)) open_with_default_application(diagnostic->url); - ted->cursor = ted->cursor_hand; + if (diagnostic->url) + ted->cursor = ted->cursor_hand; } } // set color -- cgit v1.2.3