28 lines
628 B
Lua
28 lines
628 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 = "Fira Code:h11",
|
||
|
|
-- line spacing
|
||
|
|
linespace = 0,
|
||
|
|
},
|
||
|
|
g = { -- configure vim.g variables
|
||
|
|
-- configure scaling
|
||
|
|
neovide_scale_factor = 1.0,
|
||
|
|
-- configure padding
|
||
|
|
neovide_padding_top = 0,
|
||
|
|
neovide_padding_bottom = -1,
|
||
|
|
neovide_padding_right = 0,
|
||
|
|
neovide_padding_left = 0,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
}
|