fix: fix setline mistake

This commit is contained in:
JuanZoran
2023-03-15 00:18:31 +08:00
parent f47abd1691
commit baf30a3db1
4 changed files with 24 additions and 23 deletions

View File

@ -14,7 +14,7 @@ local interval = (' '):rep(4)
local strategy = {
title = function(hover, title)
if type(title) == 'string' then
hover.buffer:setline(it(title, 'TransTitle'))
hover.buffer:setline(it(title, 'TransWord'))
return
end