vim: interface colorscheme (#401)

This commit is contained in:
NewDawn0 2024-06-01 21:05:16 +02:00 committed by GitHub
parent 266db7f00c
commit 3befd5d693
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,10 +23,30 @@ let
fonts = config.stylix.fonts;
in {
plugins = [ themePlugin ];
extraConfig = ''
extraConfig = with config.lib.stylix.colors.withHashtag; ''
set termguicolors
colorscheme base16-stylix
unlet g:colors_name
let g:stylix_colors = {
\ 'base00': '${base00}',
\ 'base01': '${base01}',
\ 'base02': '${base02}',
\ 'base03': '${base03}',
\ 'base04': '${base04}',
\ 'base05': '${base05}',
\ 'base06': '${base06}',
\ 'base07': '${base07}',
\ 'base08': '${base08}',
\ 'base09': '${base09}',
\ 'base0A': '${base0A}',
\ 'base0B': '${base0B}',
\ 'base0C': '${base0C}',
\ 'base0D': '${base0D}',
\ 'base0E': '${base0E}',
\ 'base0F': '${base0F}',
\ }
set guifont=${escape [" "] fonts.monospace.name}:h${toString fonts.sizes.terminal}
'';
};