fix: hook back logger

This commit is contained in:
əlemi 2024-09-17 19:48:53 +02:00
parent 16f9bd77fd
commit 9d7410b725
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -33,10 +33,9 @@ if CODEMP.native == nil then
CODEMP.native = require('codemp.loader').load() -- make sure we can load the native library correctly, otherwise no point going forward
if CODEMP.native == nil then
print(" !! could not load native bindings, try reloading")
return CODEMP
end
--CODEMP.native.logger(function (msg)
-- vim.schedule(function () print(msg) end)
--end, true)
CODEMP.native.logger(print, CODEMP.config.debug)
end
if CODEMP.rt == nil then