Skip to content

Commit 25753a3

Browse files
committed
feat(init.lua): make GUI font configurable via NVIM_GUI_FONT env var
1 parent bbcafc3 commit 25753a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ vim.fn.sign_define("DapBreakpointRejected", { text = "", texthl = "Debug", li
3838
if vim.g.neovide then
3939
vim.g.neovide_input_macos_option_key_is_meta = 'only_left'
4040
vim.g.neovide_cursor_vfx_mode = "railgun"
41-
vim.opt_global.guifont = "CaskaydiaCove Nerd Font Mono:h15"
41+
vim.opt_global.guifont = vim.env["NVIM_GUI_FONT"] or "CaskaydiaCove Nerd Font Mono:h15"
4242
vim.g.neovide_fullscreen = true
4343
vim.g.transparency = 1.0
4444
local alpha = function()

0 commit comments

Comments
 (0)