diff --git a/lua/codemp/init.lua b/lua/codemp/init.lua index 1fb8159..0fc88b7 100644 --- a/lua/codemp/init.lua +++ b/lua/codemp/init.lua @@ -26,9 +26,9 @@ if CODEMP == nil then setup = function (opts) CODEMP.config = vim.tbl_extend('force', CODEMP.config, opts) -- register logger - CODEMP.native.logger(print, CODEMP.config.debug) + CODEMP.native.setup_tracing(CODEMP.config.print, CODEMP.config.debug) -- start background runtime, with stop event - CODEMP.rt = CODEMP.native.spawn_runtime_driver() -- spawn thread to drive tokio runtime + CODEMP.rt = CODEMP.native.setup_driver() -- spawn thread to drive tokio runtime vim.api.nvim_create_autocmd( {"ExitPre"}, {