aboutsummaryrefslogtreecommitdiff
path: root/lspc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lspc.lua')
-rw-r--r--lspc.lua11
1 files changed, 8 insertions, 3 deletions
diff --git a/lspc.lua b/lspc.lua
index 5bd3c46..8a759bc 100644
--- a/lspc.lua
+++ b/lspc.lua
@@ -35,9 +35,14 @@ local lspc = {
highlight_diagnostics = false,
-- style id used by lspc to register the style used to highlight diagnostics
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',
+ -- styles used by lspc to highlight the diagnostic range
+ -- must be set by the user
+ diagnostic_styles = {
+ error = 'fore:default,back:default',
+ warning = 'fore:default,back:default',
+ information = 'fore:default,back:default',
+ hint = 'fore:default,back:default',
+ },
-- restore the position of the primary curser after applying a workspace edit
workspace_edit_remember_cursor = true,