* fix(#1970): additional log function gating for efficiency when not logging * fix(#1970): additional log function gating for efficiency when not logging
This commit is contained in:
committed by
GitHub
parent
59e65d88db
commit
02fdc262eb
@@ -437,8 +437,10 @@ function M.setup(opts)
|
||||
|
||||
require("nvim-tree.actions.dispatch").setup(M.custom_keypress_funcs)
|
||||
|
||||
log.line("config", "active mappings")
|
||||
log.raw("config", "%s\n", vim.inspect(M.mappings))
|
||||
if log.enabled "config" then
|
||||
log.line("config", "active mappings")
|
||||
log.raw("config", "%s\n", vim.inspect(M.mappings))
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user