Skip to content

Commit

Permalink
Log compile message at debug level (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikatpt committed Feb 16, 2022
1 parent 66d67bb commit 963cb58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/packer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,10 @@ end)

--- Hook to fire events after packer compilation
packer.on_compile_done = function()
local log = require_and_configure 'log'

vim.cmd [[doautocmd User PackerCompileDone]]
vim.notify('packer.compile: Complete', vim.log.levels.INFO, { title = 'packer.nvim' })
log.debug 'packer.compile: Complete'
end

--- Clean operation:
Expand Down

0 comments on commit 963cb58

Please sign in to comment.