fix: enable logger again

This commit is contained in:
əlemi 2024-08-22 03:41:22 +02:00
parent fd9963f8aa
commit 24c5e2cbc1
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -26,9 +26,9 @@ end
local native = require('codemp.loader').load() -- make sure we can load the native library correctly, otherwise no point going forward local native = require('codemp.loader').load() -- make sure we can load the native library correctly, otherwise no point going forward
local state = require('codemp.state') local state = require('codemp.state')
local rt = native.runtime_drive_forever() -- spawn thread to drive tokio runtime local rt = native.runtime_drive_forever() -- spawn thread to drive tokio runtime
-- native.logger(function (msg) --native.logger(function (msg)
-- vim.schedule(function () print(msg) end) -- vim.schedule(function () print(msg) end)
-- end, true) --end, true)
vim.api.nvim_create_autocmd( vim.api.nvim_create_autocmd(
{"ExitPre"}, {"ExitPre"},