From 6badd1c874fd72bb7127bf72e4d006a3bd5c18a8 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Thu, 11 Apr 2024 10:44:10 +0200 Subject: chnage default diagnostic styles and mention them in the README --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 105bd41..42f6643 100644 --- a/README.md +++ b/README.md @@ -136,8 +136,16 @@ Available options are: * `confirm_cmd = 'vis-menu'` - program to prompt for user confirmation * `ls_map` - a table mapping `vis` syntax names to language server configurations * `highlight_diagnostics = 'line'` - highlight the `range` or `line`number of available diagnostics -* `diagnostic_style = 'back:#e3514f'` - style used to highlight diagnostics * `workspace_edit_remember_cursor = true` - restore the primary cursor position after a workspaceEdit +* ``` +diagnostic_styles = { + error = 'back:red', + warning = 'back:yellow', + information = 'back:yellow', + hint = 'back:yellow', +} +```lua + styles used to highlight different diagnostics #### Configure your own Language Server -- cgit v1.2.3