aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-04-11 10:44:10 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2024-04-11 10:44:10 +0200
commit6badd1c874fd72bb7127bf72e4d006a3bd5c18a8 (patch)
tree5c10e9ad43163c7395496c64de7e223d1e511cdc /README.md
parent435559d6ff94ba861c67a486736af5c506348326 (diff)
downloadvis-lspc-6badd1c874fd72bb7127bf72e4d006a3bd5c18a8.tar.gz
vis-lspc-6badd1c874fd72bb7127bf72e4d006a3bd5c18a8.zip
chnage default diagnostic styles and mention them in the README
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 9 insertions, 1 deletions
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