From c899a05c34292b146b06ca0211e0202296d7435f Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Thu, 9 Dec 2021 17:38:28 +0100 Subject: [PATCH] Remove unused function for debugging --- home/.config/nvim/lua/lsp/rename.lua | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/home/.config/nvim/lua/lsp/rename.lua b/home/.config/nvim/lua/lsp/rename.lua index c07654a..639ce3d 100644 --- a/home/.config/nvim/lua/lsp/rename.lua +++ b/home/.config/nvim/lua/lsp/rename.lua @@ -52,20 +52,6 @@ function M.close_rename_win() end end -local function dump(o) - if type(o) == 'table' then - local s = '{ ' - for k,v in pairs(o) do - if type(k) ~= 'number' then k = '"'..k..'"' end - s = s .. '['..k..'] = ' .. dump(v) .. ',' - end - return s .. '} ' - else - return tostring(o) - end -end - - -- Trigger renaming function M.do_rename() local new_name = vim.trim(fn.getline('.'))