1
1
mirror of https://github.com/wez/wezterm.git synced 2025-01-08 23:17:36 +03:00

docs: remove legacy config table from initial config page

config_builder has been in the past several releases so we
don't need to worry so much about older versions now.
This commit is contained in:
Wez Furlong 2024-02-03 11:47:27 -07:00
parent 3129e20fd4
commit 603bd423b1
No known key found for this signature in database
GPG Key ID: 7A7F66A31EC9B387

View File

@ -8,14 +8,8 @@ contents:
-- Pull in the wezterm API
local wezterm = require 'wezterm'
-- This table will hold the configuration.
local config = {}
-- In newer versions of wezterm, use the config_builder which will
-- help provide clearer error messages
if wezterm.config_builder then
config = wezterm.config_builder()
end
-- This will hold the configuration.
local config = wezterm.config_builder()
-- This is where you actually apply your config choices