mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-25 08:54:50 +01:00
fix: last native pending calls
This commit is contained in:
parent
d8f4ed98d9
commit
76f7dc9261
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ if CODEMP == nil then
|
|||
|
||||
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
|
||||
--native.logger(function (msg)
|
||||
--CODEMP.native.logger(function (msg)
|
||||
-- vim.schedule(function () print(msg) end)
|
||||
--end, true)
|
||||
end
|
||||
|
@ -28,7 +28,7 @@ if CODEMP == nil then
|
|||
end
|
||||
|
||||
if CODEMP.rt == nil then
|
||||
CODEMP.rt = native.spawn_runtime_driver() -- spawn thread to drive tokio runtime
|
||||
CODEMP.rt = CODEMP.native.spawn_runtime_driver() -- spawn thread to drive tokio runtime
|
||||
vim.api.nvim_create_autocmd(
|
||||
{"ExitPre"},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue