Add options to set font sizes (#60)

Fixes #35 and #59

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
This commit is contained in:
Luc Chabassier 2023-03-19 19:39:32 +01:00 committed by GitHub
parent 9afac8a0a3
commit 50dcc46fe6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 71 additions and 20 deletions

View file

@ -24,13 +24,15 @@ let
'';
};
vimOptions = {
vimOptions = let
fonts = config.stylix.fonts;
in {
plugins = [ themePlugin ];
extraConfig = ''
set termguicolors
colorscheme base16-stylix
unlet g:colors_name
set guifont=${escape [" "] config.stylix.fonts.monospace.name}:h10
set guifont=${escape [" "] fonts.monospace.name}:h${toString fonts.sizes.terminal}
'';
};