Skip to content

Commit

Permalink
remove prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon McLean committed Sep 14, 2024
1 parent 0458765 commit 3cf64d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
6 changes: 0 additions & 6 deletions lua/triptych/autocmds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -147,19 +147,13 @@ end

---@param path string
function M.publish_will_create_node(path)
-- vim.print {
-- will_create = path
-- }
exec_public_autocmd('TriptychWillCreateNode', {
path = path,
})
end

---@param path string
function M.publish_did_create_node(path)
-- vim.print {
-- created = path
-- }
exec_public_autocmd('TriptychDidCreateNode', {
path = path,
})
Expand Down
8 changes: 0 additions & 8 deletions tests/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 3cf64d4

Please sign in to comment.