summaryrefslogtreecommitdiff
path: root/lua/core/nvimtree.lua
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-08-26 12:49:29 +0200
committerGitHub <[email protected]>2021-08-26 12:49:29 +0200
commit5b94e3cee2c4405e98c9c0e8769670723a1f4bae (patch)
treebeb76ee514df69240d6e954b25372412a0316b2a /lua/core/nvimtree.lua
parentcfefddde9e9376e68ad8fcad3b1cf8cf139456e6 (diff)
fix logging when plenary is not available (#1390)
Diffstat (limited to 'lua/core/nvimtree.lua')
-rw-r--r--lua/core/nvimtree.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/core/nvimtree.lua b/lua/core/nvimtree.lua
index bea1add4..b5a6cc8d 100644
--- a/lua/core/nvimtree.lua
+++ b/lua/core/nvimtree.lua
@@ -52,7 +52,7 @@ end
function M.setup()
local status_ok, nvim_tree_config = pcall(require, "nvim-tree.config")
if not status_ok then
- Log:get_default().error "Failed to load nvim-tree.config"
+ Log:error "Failed to load nvim-tree.config"
return
end
local g = vim.g