Remove unused function for debugging

This commit is contained in:
ItsDrike 2021-12-09 17:38:28 +01:00
parent 2fc82d8f37
commit c899a05c34
No known key found for this signature in database
GPG key ID: FB8CA11A2CF3A843

View file

@ -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('.'))