aboutsummaryrefslogtreecommitdiff
path: root/lspc.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-05-30 16:15:53 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-07-15 12:06:32 +0200
commit9d0f7a0b82b1983b44636259733d6d2c39497315 (patch)
treeae14a364d8eedb8e6405701fec156a2eaa0d3d5c /lspc.lua
parentfc52af4cb42485338ccc8a7968ec6289de981c2b (diff)
downloadvis-lspc-9d0f7a0b82b1983b44636259733d6d2c39497315.tar.gz
vis-lspc-9d0f7a0b82b1983b44636259733d6d2c39497315.zip
implement backward compatible style handling
Remove diagnostic_style_id and use vis.ui:style_push to obtain one.
Diffstat (limited to 'lspc.lua')
-rw-r--r--lspc.lua3
1 files changed, 0 insertions, 3 deletions
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 = {