From: Thomas Teixeira Date: Thu, 2 Nov 2023 10:06:28 +0000 (+0100) Subject: feat: markdown support + LineNumberCursor X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=44b4cf8f935fdf4fc58108ea8909cd4114c6e302;p=dabruin.kak feat: markdown support + LineNumberCursor --- diff --git a/dabruin.kak b/dabruin.kak index 1f1b8df..2c0a169 100644 --- a/dabruin.kak +++ b/dabruin.kak @@ -1,67 +1,67 @@ ## -## brun.kak by nasmevka -## file structure based on base16.kak +## brun.kak by nasmevka +## file structure based on base16.kak ## evaluate-commands %sh{ - accent="${kak_opt_dabruin_accent:-rgb:FFB852}" - background='rgb:242124' - 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_dim}+i - face global type default+bu - face global variable ${foreground}+i - face global module default@string - face global function ${accent_dim}+i - face global string ${grey}+i - face global keyword ${accent} - face global operator ${foreground} - face global attribute ${foreground}+i - face global comment ${deep} - face global documentation comment - face global meta ${accent} - face global builtin default+i + accent="${kak_opt_dabruin_accent:-rgb:FFB852}" + background='rgb:242124' + 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_dim}+i + face global type default+bu + face global variable ${foreground}+i + face global module default@string + face global function ${accent_dim}+i + face global string ${grey}+i + face global keyword ${accent} + face global operator ${foreground} + face global attribute ${foreground}+i + face global comment ${deep} + face global documentation comment + face global meta ${accent_dim} + face global builtin default+i - face global title ${foreground} - face global header ${foreground} - face global mono ${foreground} - face global block ${foreground} - face global link ${foreground} - face global bullet ${foreground} - face global list ${foreground} + face global title ${accent}+bi + face global header title + face global mono string + face global block mono + face global link ${accent_dim}+u + face global bullet ${foreground_dim} + face global list bullet - face global Default ${foreground},${background} - face global PrimarySelection ${foreground}+rfg - face global SecondarySelection ${grey}+rfg - face global PrimaryCursor ${foreground},${background}+rfg - face global SecondaryCursor ${grey},${background}+rfg - face global PrimaryCursorEol default+dfg@PrimaryCursor - face global SecondaryCursorEol default+dfg@SecondaryCursor - face global LineNumbers ${grey},${background}+d - face global LineNumbersWrapped ${background},${background} - face global LineNumberCursor ${accent},${background}+b - face global MenuForeground ${accent},${background}+rb - face global MenuBackground ${foreground},${background} - face global MenuInfo ${accent}@MenuBackground - face global Information ${foreground},${background} - 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} - face global StatusLineValue ${grey} - face global StatusCursor ${accent},${background}+r - face global Prompt ${accent},${background} - face global MatchingChar default+rfg@PrimaryCursor - face global BufferPadding ${deep},${background}+F - face global Whitespace ${deep},${background}+f + face global Default ${foreground},${background} + face global PrimarySelection ${foreground}+rfg + face global SecondarySelection ${grey}+rfg + face global PrimaryCursor ${foreground},${background}+rfg + face global SecondaryCursor ${grey},${background}+rfg + face global PrimaryCursorEol default+dfg@PrimaryCursor + face global SecondaryCursorEol default+dfg@SecondaryCursor + face global LineNumbers ${grey},${background}+d + face global LineNumbersWrapped ${background},${background} + face global LineNumberCursor ${foreground},${background} + face global MenuForeground ${accent},${background}+rb + face global MenuBackground ${foreground},${background} + face global MenuInfo ${accent}@MenuBackground + face global Information ${foreground},${background} + 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} + face global StatusLineValue ${grey} + face global StatusCursor ${accent},${background}+r + face global Prompt ${accent},${background} + face global MatchingChar default+rfg@PrimaryCursor + face global BufferPadding ${deep},${background}+F + face global Whitespace ${deep},${background}+f COLORSCHEME }