setup the linux font

This commit is contained in:
Oliver Hartmann 2022-07-07 22:21:57 +02:00
parent 219a8c3e81
commit 5d4cf9bfdc

View File

@ -33,7 +33,11 @@ opt.splitbelow= true
opt.splitright= true opt.splitright= true
opt.shiftwidth = indent opt.shiftwidth = indent
opt.tabstop = indent opt.tabstop = indent
opt.guifont= 'JetBrainsMonoNL NF:h9' -- https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/JetBrainsMono/NoLigatures/Regular/complete/JetBrains%20Mono%20NL%20Regular%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.ttf if vim.loop.os_uname().sysname == 'Linux' then
opt.guifont= 'JetBrainsMono Nerd Font Mono:h7'
else
opt.guifont= 'JetBrainsMonoNL NF:h9' -- https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/JetBrainsMono/NoLigatures/Regular/complete/JetBrains%20Mono%20NL%20Regular%20Nerd%20Font%20Complete%20Mono%20Windows%20Compatible.ttf
end
opt.swapfile= false opt.swapfile= false
opt.backup= false opt.backup= false
opt.spelllang= 'en,de' opt.spelllang= 'en,de'