mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +01:00
fix: hook back logger
This commit is contained in:
parent
16f9bd77fd
commit
9d7410b725
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue