mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 12:44:35 +00:00
Remove unused function for debugging
This commit is contained in:
parent
2fc82d8f37
commit
c899a05c34
|
@ -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('.'))
|
||||
|
|
Loading…
Reference in a new issue