diff --git a/config/src/lua.rs b/config/src/lua.rs index 3ac526959..f64ea25da 100644 --- a/config/src/lua.rs +++ b/config/src/lua.rs @@ -106,6 +106,11 @@ pub fn make_lua_context(config_file: &Path) -> anyhow::Result { lua.create_function(|_, ()| Ok(crate::running_under_wsl()))?, )?; + wezterm_mod.set( + "default_wsl_domains", + lua.create_function(|_, ()| Ok(crate::WslDomain::default_domains()))?, + )?; + wezterm_mod.set( "get_builtin_color_schemes", lua.create_function(|_, ()| Ok(crate::COLOR_SCHEMES.clone()))?,