From b745b0a5a2df42be5118db0c4ef2c9c5887410ad Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Thu, 20 Jul 2023 20:05:27 +0300 Subject: [PATCH] refactor(utils): remove not used function --- lua/gopher/_utils/init.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lua/gopher/_utils/init.lua b/lua/gopher/_utils/init.lua index a083a78..4915ab3 100644 --- a/lua/gopher/_utils/init.lua +++ b/lua/gopher/_utils/init.lua @@ -9,17 +9,6 @@ function utils.is_tbl_empty(t) return next(t) == nil end ----@param s string ----@return string -function utils.rtrim(s) - local n = #s - while n > 0 and s:find("^%s", n) do - n = n - 1 - end - - return s:sub(1, n) -end - ---@param msg string ---@param lvl any function utils.deferred_notify(msg, lvl)