diff options
| author | Tim Allen <screwtape@froup.com> | 2021-09-07 16:55:01 +1000 |
|---|---|---|
| committer | Tim Allen <screwtape@froup.com> | 2021-09-07 17:46:50 +1000 |
| commit | dc07c649deaa7de8d280be16022712e4232961e7 (patch) | |
| tree | bd0a592dcbdf1e5569956f50dee109386e66c3da /colors/red-phoenix.kak | |
| parent | 3fc8e29d101b4f6eef2538cdbe799bab9859f4b3 (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/red-phoenix.kak')
| -rw-r--r-- | colors/red-phoenix.kak | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/colors/red-phoenix.kak b/colors/red-phoenix.kak index 52df293a..0ad58f11 100644 --- a/colors/red-phoenix.kak +++ b/colors/red-phoenix.kak @@ -75,6 +75,8 @@ evaluate-commands %sh{ face global MenuInfo ${gray1} face global Information white,${window} face global Error white,${gray1} + face global DiagnosticError ${orange1} + face global DiagnosticWarning ${orange2} face global StatusLine ${text},${window} face global StatusLineMode ${yellow1}+b face global StatusLineInfo ${orange2} |
