feat(nvim): add some new options to the neovide conf like refresh rate, shadows and font

This commit is contained in:
Sergio Laín 2024-01-19 11:34:29 +01:00
parent 09d488cbe0
commit 5ed2fb69c8
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -21,12 +21,15 @@ vim.keymap.set({ "n", "i" }, "<C-->", function()
ResizeGuiFont(-1)
end, opts)
-- Options
vim.g.neovide_padding_top = 5
vim.g.neovide_padding_right = 5
vim.g.neovide_padding_left = 5
vim.g.neovide_floating_blur_amount_x = 5.0
vim.g.neovide_floating_blur_amount_y = 5.0
vim.g.neovide_floating_shadow = true
vim.g.neovide_floating_z_height = 10
vim.g.neovide_transparency = 0.85
@ -34,6 +37,9 @@ vim.g.neovide_cursor_antialiasing = false
vim.g.neovide_cursor_vfx_mode = "pixiedust"
vim.o.guifont = "JetBrainsMono Nerd Font:h10"
vim.opt.winblend = 20
vim.g.neovide_refresh_rate = 75
return {}