aboutsummaryrefslogtreecommitdiff
path: root/lspc.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-10-25 16:03:33 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-10-25 16:03:33 +0200
commit754dad10d3a8434d0c23f919b592d76aa32ace46 (patch)
tree6da227970280a444ff94b47b103a78298db47245 /lspc.lua
parentecd67870e578c061b06ecc4072477da5e9ea9f52 (diff)
downloadvis-lspc-754dad10d3a8434d0c23f919b592d76aa32ace46.tar.gz
vis-lspc-754dad10d3a8434d0c23f919b592d76aa32ace46.zip
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.
Diffstat (limited to 'lspc.lua')
-rw-r--r--lspc.lua2
1 files changed, 1 insertions, 1 deletions
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',