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:
1 file changed
+2
-8
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user