summaryrefslogtreecommitdiff
path: root/ide-highlights.c
diff options
context:
space:
mode:
Diffstat (limited to 'ide-highlights.c')
-rw-r--r--ide-highlights.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ide-highlights.c b/ide-highlights.c
index fee01d4..4188f4e 100644
--- a/ide-highlights.c
+++ b/ide-highlights.c
@@ -66,7 +66,10 @@ void highlights_frame(Ted *ted) {
}
arr_foreach_ptr(hls->highlights, LSPHighlight, hl) {
- buffer_highlight_lsp_range(buffer, hl->range);
+ ColorSetting color = COLOR_HOVER_HL;
+ if (hl->kind == LSP_HIGHLIGHT_WRITE)
+ color = COLOR_HL_WRITE;
+ buffer_highlight_lsp_range(buffer, hl->range, color);
}
gl_geometry_draw();
}