]> Freerunner's - dabruin.kak/commitdiff
feat: Errors+Warning and +d -> _dim colors
authorThomas Teixeira <thomas.teixeira@startmail.com>
Wed, 1 Nov 2023 22:24:31 +0000 (23:24 +0100)
committerThomas Teixeira <thomas.teixeira@startmail.com>
Wed, 1 Nov 2023 22:24:31 +0000 (23:24 +0100)
dabruin.kak

index 19d6d0a3769f49d215137d762f1956461c9b2084..1f1b8dfd48a6d658f7046a7e93679aa6df984a5c 100644 (file)
@@ -9,13 +9,17 @@ evaluate-commands %sh{
     foreground='rgb:F5F5F5'
     grey='rgb:B2BECA'
     deep='rgb:3D4C59'
+    # Using two other colors instead of dim option because it bleeds through selection.
+    # Need to investigate further the issue
+    foreground_dim='rgb:767676'
+    accent_dim="${kak_opt_dabruin_accent_dim:-rgb:854E00}"
     ## code
     cat <<-COLORSCHEME
-        face global value ${foreground}+di
+        face global value ${foreground_dim}+i
         face global type default+bu
         face global variable ${foreground}+i
         face global module default@string
-        face global function ${accent}+di
+        face global function ${accent_dim}+i
         face global string ${grey}+i
         face global keyword ${accent}
         face global operator ${foreground}
@@ -47,9 +51,9 @@ evaluate-commands %sh{
         face global MenuBackground ${foreground},${background}
         face global MenuInfo ${accent}@MenuBackground
         face global Information ${foreground},${background}
-        face global Error ${foreground},${background}
-        face global DiagnosticError ${foreground}
-        face global DiagnosticWarning ${foreground}
+        face global Error red
+        face global DiagnosticError red
+        face global DiagnosticWarning yellow
         face global StatusLine ${foreground},${background}
         face global StatusLineMode ${accent}
         face global StatusLineInfo ${grey}