From 754dad10d3a8434d0c23f919b592d76aa32ace46 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 25 Oct 2023 16:03:33 +0200 Subject: increase thedefault style id Using the new latex lexer from the upcoming vis release I noticed that vis-lspc default style id 43 overrides the environment style from the lexer. To prevent id clashing use the highest allowed id for lexer styles, which is 64 according to the enum defined in vis/ui.h. --- lspc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lspc.lua') diff --git a/lspc.lua b/lspc.lua index 756493f..453f7b0 100644 --- a/lspc.lua +++ b/lspc.lua @@ -34,7 +34,7 @@ local lspc = { -- should diagnostics be highlighted if available highlight_diagnostics = false, -- style id used by lspc to register the style used to highlight diagnostics - diagnostic_style_id = 43, + diagnostic_style_id = 64, -- 64 is the last style id available for the lexer styles. See vis/ui.h. -- style used by lspc to highlight the diagnostic range -- 60% solarized red diagnostic_style = 'back:#e3514f', -- cgit v1.2.3