Fix font size

This commit is contained in:
Thomas Gideon 2024-01-06 11:44:12 -05:00
parent 9fee066f65
commit 50470717d3
2 changed files with 3 additions and 3 deletions

View file

@ -122,7 +122,7 @@ vim.g.guioptions = guiopts
vim.opt.mouse = "nv" vim.opt.mouse = "nv"
vim.opt.gfn = "FiraCode Nerd Font Mono:h12" vim.opt.gfn = "FiraCode Nerd Font Mono:h10"
require('nvim-projectconfig').setup({autocmd=true}) require('nvim-projectconfig').setup({autocmd=true})
require("trouble").setup { require("trouble").setup {

View file

@ -109,9 +109,9 @@ set guioptions-=m
set mouse=nv set mouse=nv
set gfn=FiraCode\ Nerd\ Font\ Mono:h12 set gfn=FiraCode\ Nerd\ Font\ Mono:h10
" from https://stackoverflow.com/a/51424640 " from https://stackoverflow.com/a/51424640
let s:fontsize = 14 let s:fontsize = 10
function! AdjustFontSize(amount) function! AdjustFontSize(amount)
let s:fontsize = s:fontsize+a:amount let s:fontsize = s:fontsize+a:amount
:execute "set gfn=FiraCode\\ Nerd\\ Font\\ Mono:h" . s:fontsize :execute "set gfn=FiraCode\\ Nerd\\ Font\\ Mono:h" . s:fontsize