We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb845a6 commit cc6bcdaCopy full SHA for cc6bcda
2 files changed
lua/nvim-tree.lua
@@ -281,7 +281,7 @@ function M.setup(config_user)
281
282
manage_netrw()
283
284
- require("nvim-tree.log").start()
+ log.start()
285
286
if log.enabled("config") then
287
log.line("config", "default config + user")
lua/nvim-tree/log.lua
@@ -120,7 +120,9 @@ function M.start()
120
if config.g.log.truncate then
121
os.remove(file_path)
122
end
123
- require("nvim-tree.notify").debug("nvim-tree.lua logging to " .. file_path)
+ if config.g.notify.threshold <= vim.log.levels.DEBUG then
124
+ require("nvim-tree.notify").debug("nvim-tree.lua logging to " .. file_path)
125
+ end
126
127
128
0 commit comments