diff --git a/modules/vim/hm.nix b/modules/vim/hm.nix index b67211d9..0cfd3f22 100644 --- a/modules/vim/hm.nix +++ b/modules/vim/hm.nix @@ -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} ''; };