From 0436825b528f65290c89cefbafdf1ce84d713445 Mon Sep 17 00:00:00 2001 From: Arijit Basu Date: Mon, 30 Jan 2023 13:20:11 +0530 Subject: [PATCH] Minor doc fix --- docs/en/src/xplr.util.md | 2 +- src/lua/util.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/src/xplr.util.md b/docs/en/src/xplr.util.md index 213f0df..8440a23 100644 --- a/docs/en/src/xplr.util.md +++ b/docs/en/src/xplr.util.md @@ -131,7 +131,7 @@ xplr.util.node("/") Get the configured [Node Type][6] of a given [Node][5]. -Type: function( [Node][5], [xplr.config.node_types][7]|nil ) -> [NodeType][5] +Type: function( [Node][5], [xplr.config.node_types][7]|nil ) -> [Node Type][6] If the second argument is missing, global config `xplr.config.node_types` will be used. diff --git a/src/lua/util.rs b/src/lua/util.rs index a9c3ed8..04e9a22 100644 --- a/src/lua/util.rs +++ b/src/lua/util.rs @@ -231,7 +231,7 @@ pub fn node<'a>(util: Table<'a>, lua: &Lua) -> Result> { /// Get the configured [Node Type][6] of a given [Node][5]. /// -/// Type: function( [Node][5], [xplr.config.node_types][7]|nil ) -> [NodeType][5] +/// Type: function( [Node][5], [xplr.config.node_types][7]|nil ) -> [Node Type][6] /// /// If the second argument is missing, global config `xplr.config.node_types` /// will be used.