This commit is contained in:
2025-07-24 10:32:33 -04:00
parent 3c0a33d0a2
commit b79fbbfc15
3 changed files with 15 additions and 2 deletions

View File

@@ -250,6 +250,7 @@ require("pckr").add {
{ "williamboman/mason-lspconfig.nvim" }, { "williamboman/mason-lspconfig.nvim" },
{ "hrsh7th/nvim-cmp" }, { "hrsh7th/nvim-cmp" },
{ "hrsh7th/cmp-nvim-lsp" }, { "hrsh7th/cmp-nvim-lsp" },
{ "hrsh7th/cmp-buffer" },
{ "L3MON4D3/LuaSnip" }, { "L3MON4D3/LuaSnip" },
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",

View File

@@ -24,4 +24,18 @@ config.window_padding = {
config.font = wezterm.font("ComicShannsMono Nerd Font") config.font = wezterm.font("ComicShannsMono Nerd Font")
config.font_size = 20.0 config.font_size = 20.0
local TARGET_ROWS = 25
wezterm.on("window-config-reloaded", function(window, pane)
local dims = window:get_dimensions()
local pixel_height = dims.pixel_height
local line_height = config.line_height or 1.2
local font_size = (pixel_height / TARGET_ROWS) / line_height
window:set_config_overrides({
font_size = font_size,
})
end)
config.line_height = 1.2
return config return config

View File

@@ -1,2 +0,0 @@
[ZoneTransfer]
ZoneId=3