Add local.lua example config to comment
This commit is contained in:
parent
71c1ef142f
commit
2d85862d94
@ -104,6 +104,14 @@ local try_require = function(module)
|
|||||||
pcall(function() require(module)(wezterm, config) end)
|
pcall(function() require(module)(wezterm, config) end)
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
-- Example of ~/.config/wezterm/local.lua to set the window size
|
||||||
|
--
|
||||||
|
-- ```lua
|
||||||
|
-- return function(wezterm, config)
|
||||||
|
-- config.initial_rows = 107
|
||||||
|
-- config.initial_cols = 322
|
||||||
|
-- end
|
||||||
|
-- ```
|
||||||
try_require('local')
|
try_require('local')
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user