From eb0c32f20eda9e63b12195e5eaa9ce0fd60df474 Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 1 Sep 2024 21:50:47 -0400 Subject: [PATCH] tweak gui font settings some more mainly aimed at neovide again. but the guifont setting can be set outside of that neovide check so as to apply to any other neovim gui app i suppose --- lua/options.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/options.lua b/lua/options.lua index 6f2b879..3d6efe3 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -62,10 +62,11 @@ vim.opt.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 +vim.opt.guifont = 'Cascadia Mono:h12:#h-slight' +vim.opt.linespace = -1 + -- Neovide specific options if vim.g.neovide then - vim.o.guifont = 'Cascadia Mono:h11' - vim.g.neovide_position_animation_length = 0.15 vim.g.neovide_cursor_animation_length = 0.03 vim.g.neovide_scroll_animation_length = 0.2