diff options
| author | git-bruh <prathamIN@proton.me> | 2024-04-07 01:16:43 +0530 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-04-11 10:40:08 +0200 |
| commit | 435559d6ff94ba861c67a486736af5c506348326 (patch) | |
| tree | 214f4a0760482c9ca2f20998d223052d9c107567 /lspc.lua | |
| parent | d36c417bc662a720a0bfdd60cbc8c1dc6c915041 (diff) | |
| download | vis-lspc-435559d6ff94ba861c67a486736af5c506348326.tar.gz vis-lspc-435559d6ff94ba861c67a486736af5c506348326.zip | |
lspc, init: add different diagnostic styles for each type
Diffstat (limited to 'lspc.lua')
| -rw-r--r-- | lspc.lua | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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, |
