From 9d0f7a0b82b1983b44636259733d6d2c39497315 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 30 May 2026 16:15:53 +0200 Subject: implement backward compatible style handling Remove diagnostic_style_id and use vis.ui:style_push to obtain one. --- lspc.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'lspc.lua') diff --git a/lspc.lua b/lspc.lua index 389961d..0f09f5a 100644 --- a/lspc.lua +++ b/lspc.lua @@ -28,9 +28,6 @@ local lspc = { -- should diagnostics be highlighted if available highlight_diagnostics = 'line', - -- style id used by lspc to register the style used to highlight diagnostics - -- by default win.STYLE_LEXER_MAX is used (the last style id available for the lexer styles). See vis/ui.h. - diagnostic_style_id = nil, -- styles used by lspc to highlight the diagnostic range -- must be set by the user diagnostic_styles = { -- cgit v1.2.3