This commit is contained in:
Hydroxycarbamide 2024-07-06 02:22:08 +02:00
parent 473ad7436c
commit 70a59dda08
4 changed files with 64 additions and 40 deletions

27
lua/plugins/neovide.lua Normal file
View file

@ -0,0 +1,27 @@
if not vim.g.neovide then
return {} -- do nothing if not in a Neovide session
end
return {
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = {
options = {
opt = { -- configure vim.opt options
-- configure font
-- guifont = "Source Code Pro:h14",
-- line spacing
linespace = 0,
},
g = { -- configure vim.g variables
-- configure scaling
neovide_scale_factor = 1.0,
-- configure padding
neovide_padding_top = 20,
neovide_padding_bottom = 20,
neovide_padding_right = 20,
neovide_padding_left = 20,
},
},
},
}