From 405da5f84b072ea97b69359454899f45d92d24b6 Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Wed, 22 May 2024 00:00:29 +0200 Subject: WIP LSP client This contains the start of an LSP client. Nothing (except starting the LSP server) works at the moment and the feature is disabled by default. --- src/dged/buffer_view.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/dged/buffer_view.c') diff --git a/src/dged/buffer_view.c b/src/dged/buffer_view.c index f3dd2b9..0c587a6 100644 --- a/src/dged/buffer_view.c +++ b/src/dged/buffer_view.c @@ -386,8 +386,7 @@ void buffer_view_update(struct buffer_view *view, struct timer *buffer_update_timer = timer_start("update-windows.buffer-update"); - struct buffer_update_params update_params = {}; - buffer_update(view->buffer, &update_params); + buffer_update(view->buffer); timer_stop(buffer_update_timer); uint32_t height = params->height; @@ -446,7 +445,7 @@ void buffer_view_update(struct buffer_view *view, buffer_add_text_property(view->buffer, reg.begin, reg.end, (struct text_property){ .type = TextProperty_Colors, - .colors = + .data.colors = (struct text_property_colors){ .set_bg = true, .bg = 5, -- cgit v1.2.3