summaryrefslogtreecommitdiff
path: root/ide-highlights.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-highlights.c
parent74ca500fcad9f6f1ee2d43498b92beee92112fb0 (diff)
clip highlight to buffer rect
Diffstat (limited to 'ide-highlights.c')
-rw-r--r--ide-highlights.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide-highlights.c b/ide-highlights.c
index 239f4ec..8ecf3ea 100644
--- a/ide-highlights.c
+++ b/ide-highlights.c
@@ -54,7 +54,7 @@ void highlights_frame(Ted *ted) {
}
arr_foreach_ptr(hls->highlights, LSPHighlight, hl) {
- ted_highlight_lsp_range(ted, buffer, hl->range);
+ buffer_highlight_lsp_range(buffer, hl->range);
}
gl_geometry_draw();
}