astrovim_user/lua/plugins/neovide.lua
2024-07-06 02:22:08 +02:00

27 lines
640 B
Lua

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,
},
},
},
}