fix logging when plenary is not available (#1390)

This commit is contained in:
kylo252 2021-08-26 12:49:29 +02:00 committed by GitHub
parent cfefddde9e
commit 5b94e3cee2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 61 additions and 35 deletions

View file

@ -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