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 committed 2024-02-03 11:47:27 -07:00
1 parent 3129e20fd4
commit 603bd423b1
1 file changed
+2 -8
+2 -8
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