diff options
author | kylo252 <[email protected]> | 2021-08-26 12:49:29 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-26 12:49:29 +0200 |
commit | 5b94e3cee2c4405e98c9c0e8769670723a1f4bae (patch) | |
tree | beb76ee514df69240d6e954b25372412a0316b2a /lua/core/nvimtree.lua | |
parent | cfefddde9e9376e68ad8fcad3b1cf8cf139456e6 (diff) |
fix logging when plenary is not available (#1390)
Diffstat (limited to 'lua/core/nvimtree.lua')
-rw-r--r-- | lua/core/nvimtree.lua | 2 |
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 |