chore: use conf.theme instead of conf.style.theme

This commit is contained in:
JuanZoran
2023-03-15 19:27:21 +08:00
parent 52238cb1e7
commit 21351b3a26
6 changed files with 92 additions and 91 deletions

View File

@ -124,7 +124,6 @@ function M:wait(tbl, name, timeout)
pause(interval)
end
-- FIXME :
-- buffer:wipe()
-- vim.api.nvim_buf_set_lines(buffer.bufnr, 1, -1, true, {})
@ -139,6 +138,7 @@ end
---@param result TransResult
---@overload fun(result:TransResult)
function M:process(data, result)
if self.pin then return end
-- local node = Trans.util.node
-- local it, t, f = node.item, node.text, node.format
-- self.buffer:setline(it('hello', 'MoreMsg'))