Skip to content

Commit cf0f6fa

Browse files
committed
fix!: Moved init.lua to wezterm.lua, got rid of some aliases.
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
1 parent 5f37ddb commit cf0f6fa

5 files changed

Lines changed: 870 additions & 917 deletions

File tree

lua/wezterm/types/config.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
---Subsequent layers are composited over the top of preceding layers.
247247
---
248248
---@field background? BackgroundLayer[]
249-
---@field bold_brightens_ansi_colors? BoldBrightening
249+
---@field bold_brightens_ansi_colors? "No"|"BrightAndBold"|"BrightOnly"
250250
---If an application has enabled mouse reporting mode, mouse events are sent directly
251251
---to the application, and do not get routed through the mouse assignment logic.
252252
---
@@ -541,22 +541,22 @@
541541
---@field disable_default_key_bindings? boolean
542542
---@field disable_default_mouse_bindings? boolean
543543
---@field disable_default_quick_select_patterns? boolean
544-
---@field display_pixel_geometry? DisplayPixelGeometry
544+
---@field display_pixel_geometry? "RGB"|"BGR"
545545
---Override the detected DPI (dots per inch) for the display.
546546
---
547547
---This can be useful if the detected DPI is inaccurate and the text
548548
---appears either blurry or too small
549549
---(particularly if you are using a 4K display on X11 or Wayland).
550550
---
551551
---The default value is system specific:
552-
--
552+
---
553553
-- | OS | Standard Density | High Density |
554554
-- |---------|-------------------------|-------------------------|
555555
-- | macOS | `72.0` | `144.0` |
556556
-- | Windows | Probed from the display | Probed from the display |
557557
-- | X11 | `96.0` | `96.0` |
558558
-- | Wayland | `96.0` | `192.0` |
559-
--
559+
---
560560
---In macOS and Wayland environments there isn't strictly a system DPI value that can be queried;
561561
---instead standard density has a fixed value and the system will inform WezTerm
562562
---when the display is high density by communicating a scaling factor for the display.
@@ -640,7 +640,7 @@
640640
---@field font_dirs? string[]
641641
---DEPRECATED
642642
---@field font_hinting? Deprecated
643-
---@field font_locator? FontLocatorSelection
643+
---@field font_locator? "FontConfig"|"Gdi"|"CoreText"|"ConfigDirsOnly"
644644
---@field font_rasterizer? "FreeType"
645645
---When textual output in the terminal is styled with `bold`, `italic`
646646
---or other attributes, wezterm uses `config.font_rules`
@@ -767,7 +767,7 @@
767767
--- - Vulkan
768768
--- - DirectX 12 (on Windows)
769769
---
770-
---@field front_end? FrontEndSelection
770+
---@field front_end? "OpenGL"|"WebGpu"|"Software"
771771
---@field glyph_cache_image_cache_size? number
772772
---When `config.font_shaper = "Harfbuzz"`, this setting affects how font shaping takes place.
773773
---
@@ -1116,7 +1116,7 @@
11161116
---@field show_update_window? boolean
11171117
---@field skip_close_confirmation_for_processes_named? string[]
11181118
---@field sort_fallback_fonts_by_coverage? boolean
1119-
---@field ssh_backend? SshBackend
1119+
---@field ssh_backend? "Ssh2"|"LibSsh"
11201120
---@field ssh_domains? SshDomain[]
11211121
---@field status_update_interval? integer
11221122
---@field strikethrough_position? string|number
@@ -1252,7 +1252,7 @@
12521252
---
12531253
---Defaults to `"LowPower"`.
12541254
---
1255-
---@field webgpu_power_preference? WebGpuPowerPreference
1255+
---@field webgpu_power_preference? "LowPower"|"HighPerformance"
12561256
---Specifies which WebGpu adapter should be used.
12571257
---
12581258
---This option is only applicable when you have configured `config.front_end = "WebGpu"`.

0 commit comments

Comments
 (0)