Fix font size
This commit is contained in:
parent
9fee066f65
commit
50470717d3
2 changed files with 3 additions and 3 deletions
2
init.lua
2
init.lua
|
@ -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 {
|
||||||
|
|
4
init.vim
4
init.vim
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue