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

@ -30,7 +30,7 @@ function M.setup(filetype, options)
local ok, _ = pcall(require, "null-ls")
if not ok then
require("core.log"):get_default().error "Missing null-ls dependency"
require("core.log"):error "Missing null-ls dependency"
return
end