summaryrefslogtreecommitdiff
path: root/colors/desertex.kak
diff options
context:
space:
mode:
authorTim Allen <screwtape@froup.com>2021-09-07 16:55:01 +1000
committerTim Allen <screwtape@froup.com>2021-09-07 17:46:50 +1000
commitdc07c649deaa7de8d280be16022712e4232961e7 (patch)
treebd0a592dcbdf1e5569956f50dee109386e66c3da /colors/desertex.kak
parent3fc8e29d101b4f6eef2538cdbe799bab9859f4b3 (diff)
Add standard DiagnosticError and DiagnosticWarning faces.
kak-lsp uses these faces to mark errors inside the buffer, instead of the Error face which is much more jarring, and which does not have an associated warning face. Since the :spell command marks errors inside the buffer, it's also updated to use this new face. Adding these faces to Kakoune makes it more likely that colorschemes will automatically do the right thing when used with kak-lsp, and makes it possible to use a subtle appearance (like curly underlines) for in-buffer errors while keeping Kakoune errors bold and jarring as they should be.
Diffstat (limited to 'colors/desertex.kak')
-rw-r--r--colors/desertex.kak2
1 files changed, 2 insertions, 0 deletions
diff --git a/colors/desertex.kak b/colors/desertex.kak
index f3ec765d..f4a4d274 100644
--- a/colors/desertex.kak
+++ b/colors/desertex.kak
@@ -54,6 +54,8 @@ face global MenuInfo white,rgb:445599
face global Information black,yellow
face global Error white,red
+face global DiagnosticError red
+face global DiagnosticWarning yellow
face global StatusLine cyan,default
# Status line modes and prompts: