diff --git a/docs/en/src/xplr.util.md b/docs/en/src/xplr.util.md index 208b3bf..213f0df 100644 --- a/docs/en/src/xplr.util.md +++ b/docs/en/src/xplr.util.md @@ -406,7 +406,7 @@ xplr.util.paint("Desktop", { fg = "Red", bg = nil, add_modifiers = {}, sub_modif Mix multiple [Style][3] objects into one. -Type: function( { [Style][3], [Style][3], ... } ) -> Style[3] +Type: function( { [Style][3], [Style][3], ... } ) -> [Style][3] Example: @@ -475,4 +475,4 @@ xplr.util.layout_replace(layout, "Table", "Selection") [4]: https://xplr.dev/en/layout [5]: https://xplr.dev/en/lua-function-calls#node [6]: https://xplr.dev/en/node-type -[7]: https://xplr.dev/en/node-types +[7]: https://xplr.dev/en/node_types diff --git a/src/lua/util.rs b/src/lua/util.rs index b98e971..a9c3ed8 100644 --- a/src/lua/util.rs +++ b/src/lua/util.rs @@ -673,7 +673,7 @@ pub fn paint<'a>(util: Table<'a>, lua: &Lua) -> Result> { /// Mix multiple [Style][3] objects into one. /// -/// Type: function( { [Style][3], [Style][3], ... } ) -> Style[3] +/// Type: function( { [Style][3], [Style][3], ... } ) -> [Style][3] /// /// Example: /// @@ -783,7 +783,7 @@ pub fn layout_replace<'a>(util: Table<'a>, lua: &Lua) -> Result> { /// [4]: https://xplr.dev/en/layout /// [5]: https://xplr.dev/en/lua-function-calls#node /// [6]: https://xplr.dev/en/node-type -/// [7]: https://xplr.dev/en/node-types +/// [7]: https://xplr.dev/en/node_types pub(crate) fn create_table(lua: &Lua) -> Result { let mut util = lua.create_table()?;