summaryrefslogtreecommitdiff
path: root/ide-hover.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-30 23:00:20 -0500
committerpommicket <pommicket@gmail.com>2022-12-30 23:00:20 -0500
commit43bd0763959ecd8f8a835d09190b55ba6fab7d67 (patch)
treea79dae99561a26f5c6ba50e5423111f7ff52fb78 /ide-hover.c
parent74ca500fcad9f6f1ee2d43498b92beee92112fb0 (diff)
clip highlight to buffer rect
Diffstat (limited to 'ide-hover.c')
-rw-r--r--ide-hover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-hover.c b/ide-hover.c
index 77aec96..9a7c0c9 100644
--- a/ide-hover.c
+++ b/ide-hover.c
@@ -118,7 +118,7 @@ void hover_frame(Ted *ted, double dt) {
float x = ted->mouse_pos.x, y = ted->mouse_pos.y + font->char_height;
float char_height = font->char_height;
- ted_highlight_lsp_range(ted, buffer, hover->range);
+ buffer_highlight_lsp_range(buffer, hover->range);
if (hover->text) {
float max_width = 400;