mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-21 23:14:54 +01:00
fix: allow setting debug file
This commit is contained in:
parent
90d5a57037
commit
6b3e4a3faa
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ if CODEMP == nil then
|
|||
setup = function (opts)
|
||||
CODEMP.config = vim.tbl_extend('force', CODEMP.config, opts)
|
||||
-- register logger
|
||||
CODEMP.native.setup_tracing(CODEMP.config.print, CODEMP.config.debug)
|
||||
CODEMP.native.setup_tracing(CODEMP.config.debug_file or print, CODEMP.config.debug)
|
||||
-- start background runtime, with stop event
|
||||
CODEMP.rt = CODEMP.native.setup_driver() -- spawn thread to drive tokio runtime
|
||||
vim.api.nvim_create_autocmd(
|
||||
|
|
Loading…
Reference in a new issue