diff options
Diffstat (limited to 'lspc.lua')
| -rw-r--r-- | lspc.lua | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -34,14 +34,15 @@ local lspc = { -- should diagnostics be highlighted if available highlight_diagnostics = 'line', -- 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. + -- 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 = { - error = 'fore:red,italics', - warning = 'fore:yellow,italics', - information = 'fore:yellow,italics', - hint = 'fore:yellow,italics', + error = 'fore:red,italics,reverse', + warning = 'fore:yellow,italics,reverse', + information = 'fore:yellow,italics,reverse', + hint = 'fore:yellow,italics,reverse', }, -- restore the position of the primary curser after applying a workspace edit |
