From 603bd423b1c3705693eff33e4eb7d56b28025175 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 3 Feb 2024 11:47:27 -0700 Subject: [PATCH] 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. --- docs/config/files.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/config/files.md b/docs/config/files.md index 24453b7f4..a68e49813 100644 --- a/docs/config/files.md +++ b/docs/config/files.md @@ -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