diff --git a/lua/triptych/autocmds.lua b/lua/triptych/autocmds.lua index 5856306..d9eac0f 100644 --- a/lua/triptych/autocmds.lua +++ b/lua/triptych/autocmds.lua @@ -147,9 +147,6 @@ end ---@param path string function M.publish_will_create_node(path) - -- vim.print { - -- will_create = path - -- } exec_public_autocmd('TriptychWillCreateNode', { path = path, }) @@ -157,9 +154,6 @@ end ---@param path string function M.publish_did_create_node(path) - -- vim.print { - -- created = path - -- } exec_public_autocmd('TriptychDidCreateNode', { path = path, }) diff --git a/tests/utils.lua b/tests/utils.lua index 0900f3d..c9bc83a 100644 --- a/tests/utils.lua +++ b/tests/utils.lua @@ -53,9 +53,6 @@ function M.on_events(events, callback) end local function cleanup_autocmds() - vim.print { - autocmd_ids = autocmd_ids, - } for _, id in ipairs(autocmd_ids) do api.nvim_del_autocmd(id) end @@ -70,11 +67,6 @@ function M.on_events(events, callback) local timer = vim.loop.new_timer() local id = M.on_event(event_name, function(data) - vim.print { - event_name = event_name, - count = #result[event_name] + 1, - data = data, - } timer:stop() table.insert(result[event_name], data.data)