From dc07c649deaa7de8d280be16022712e4232961e7 Mon Sep 17 00:00:00 2001 From: Tim Allen Date: Tue, 7 Sep 2021 16:55:01 +1000 Subject: 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. --- colors/greyscale.kak | 2 ++ 1 file changed, 2 insertions(+) (limited to 'colors/greyscale.kak') diff --git a/colors/greyscale.kak b/colors/greyscale.kak index a6ca33e6..1931564a 100644 --- a/colors/greyscale.kak +++ b/colors/greyscale.kak @@ -66,6 +66,8 @@ evaluate-commands %sh{ set-face global Information ${grey_light_2},${grey_dark_2} set-face global Error ${grey_light_2},${grey_dark_3} + set-face global DiagnosticError ${grey_dark_3} + set-face global DiagnosticWarning ${grey_dark_2} set-face global BufferPadding ${grey_light_1} EOF -- cgit v1.2.3