style: formatting

This commit is contained in:
2024-12-24 09:45:02 -05:00
parent 065eb62359
commit 37d1d5fff0
+13 -13
View File
@@ -1,17 +1,17 @@
local wezterm = require("wezterm")
local wezterm = require('wezterm')
local config = wezterm.config_builder()
local mux = wezterm.mux
wezterm.on("gui-startup", function()
wezterm.on('gui-startup', function()
local tab, pane, window = mux.spawn_window({})
window:gui_window():maximize()
end)
-- required to allow nvim zen-mode to change the font size
wezterm.on("user-var-changed", function(window, pane, name, value)
wezterm.on('user-var-changed', function(window, pane, name, value)
local overrides = window:get_config_overrides() or {}
if name == "ZEN_MODE" then
local incremental = value:find("+")
if name == 'ZEN_MODE' then
local incremental = value:find('+')
local number_value = tonumber(value)
if incremental ~= nil then
while number_value > 0 do
@@ -29,18 +29,18 @@ wezterm.on("user-var-changed", function(window, pane, name, value)
end)
config = {
window_close_confirmation = "NeverPrompt",
term = "xterm-256color",
window_close_confirmation = 'NeverPrompt',
term = 'xterm-256color',
enable_kitty_graphics = true,
max_fps = 60,
color_scheme = "nord",
window_decorations = "RESIZE",
color_scheme = 'nord',
window_decorations = 'RESIZE',
enable_tab_bar = false,
default_cursor_style = "SteadyBlock",
cursor_blink_ease_out = "Constant",
cursor_blink_ease_in = "Constant",
default_cursor_style = 'SteadyBlock',
cursor_blink_ease_out = 'Constant',
cursor_blink_ease_in = 'Constant',
cursor_blink_rate = 0,
font = wezterm.font("JetBrainsMono Nerd Font"),
font = wezterm.font('JetBrainsMono Nerd Font'),
font_size = 14,
window_background_opacity = 0.85,
macos_window_background_blur = 9,